"SIGNOFF SERVLET-INTEREST"Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
Hello everyone,
I have a login.html which accepts username & password
,if the user enters valid username & password i want
the servlet to bring up InquiryFrame.html. Iam using
Tomcat 3.3 as servlet container & web . any help would
be much appreciated.
Thanks
Raju
login.html
Login
Please
Hi!
The following URL may help in case u r interested in implementing Connection
Pooling.
http://www.webdevelopersjournal.com/columns/connection_pool.html
Deepak Bajaj
- Original Message -
From: "David Mossakowski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 200
Hi All,
I have a javax.servlet.ServletContextListener. When it initializes, I put
data objects (which implements java.io.Serializable) into the
ServletContext.
public void contextInitialized(ServletContextEvent sce)
{
MyData myData = new MyData();
myData.load();
ServletCo
Hi
To run servlets you need a servlet container like Tomcat. For Apache to run
servlets/JSPs you will have to configure Tomcat as a module within Apache web
server.
Yes, Tomcat does serve HTTP requests by default, but you can configureA
pache to serve HTTP requests and pass on any request
Hi folks, how can i integrate servlets in apache, i have an apache web
server installed and i want to use servlets. At the web page, i saw tomcat
(servlets implementation), but it's a web server for its own, so, i can not
erase apache in order to put tomcat. Maybe i'm missunderstanding that
impl
>>>
[EMAIL PROTECTED]
04/10/02 09:27AM >>>invert all bits and add one... twoscomplement =
~ number + 1;- Original Message -From: "Shivanjali Bhutkar"
<[EMAIL PROTECTED]>To:
<[EMAIL PROTECTED]>Sent: Tuesday, April 09, 2002 6:01
PMSubject: general> how to find 2's complement of a numb
You might be able to use the Shunting facility of the Maverick MVC
framework (http://mav.sourceforge.net) to accomplish your goal.
Shunting allows different views to be automatically chosen based on
characteristics of the request; the stock example chooses between
different language views based on
Look for a book called Professional JSP. Chapter 6 has the best sample MVC
code I've seen yet. Used it as the basis for our framework, and we've been
very happy.
I've never bought the book and was able to find Chapter 6 online.
HTH
-Original Message-
From: John Smith [mailto:[EMAIL PROT
You are running into the new privacy policy restrictions added to IE. IE now
looks for a privacy policy in the P3P format (XML) to determine whether to
allow cookies, etc. from a web site. What is allowed is also determined by the
user's privacy settings.
You can add your privacy policy in the P3
divide the number and the successive quotients by 2 till you get zero as the
quotient. note all the remainders in the top to bottom order. they will be
either 0 or 1. that is your 2's complement.
-Original Message-
From: Shivanjali Bhutkar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April
in java u just need to negate the number... twoscomplement = - number;
- Original Message -
From: "Shivanjali Bhutkar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 6:01 PM
Subject: general
> how to find 2's complement of a number say 2: 0010?
>
>
What does this have to do with servlets?
Anyway, you just switch all the 1's to 0's and the 0's to 1's and then add 1.
Easiest way is to substract your number from all 1's and then add 1.
Ex: - 0010 = 1101
1101 + 1 = 1110
Matt
Quoting Shivanjali Bhutkar <[EMAIL PROTECTED]>:
> how to
invert all bits and add one... twoscomplement = ~ number + 1;
- Original Message -
From: "Shivanjali Bhutkar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 6:01 PM
Subject: general
> how to find 2's complement of a number say 2: 0010?
>
>
_
http://www.artima.com/insidejvm/applets/InnerInt.html
Mark
-Original Message-
From: Shivanjali Bhutkar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 5:01 PM
To: [EMAIL PROTECTED]
Subject: general
how to find 2's complement of a number say 2: 0010?
__
how to find 2's complement of a number say 2: 0010?
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servl
Hi,
I'm developing a system that relies on user
authentication. This is done with the MVC model using
a Controller servlet, beans
for communication and JSP pages for display.
I have done a basic system that does *part* of this
with normal JSP pages that are accessible in the
docroot, and the pag
Hi,
I'm currently developing a small shopping site with Servlets and JSPs
and I'm having some trouble storing info in a user's cookie when s/he is
using Internet Exporer. Everything works great when I try with Opera (my
primary browser).
I have a Java class called 'ShoppingCart' which contains m
Hi,
I'm implementing a filter that needs to process a request based on the
returned content type. I can't figure out, however, a way to find out what
the returned content type is. Looking at
http://java.sun.com/products/servlet/Filters.html, the sample code makes a
call to HttpServletResponseWr
http://industry.java.sun.com/products/jdbc/drivers
you can find drivers that implement connection pooling; Oracle type 4
driver for example does
d.
KILINC ALKAN wrote:
> Hi,
>
> Try to use ConnectionPooling. You can find free connection pool codes by
> searching internet. I suggest you to read
Hi,
Try to use ConnectionPooling. You can find free connection pool codes by
searching internet. I suggest you to read "Java Servlet Programming" book
from O'Reilly books. ISBN 1-56592-391-X
If you want to use a result of a query for querying again, place that query
as an inner query sentence be
Hi:
When an application needs several querys (selects and updates), what's better,
have only one Connection object, Statement, ResultSet, DataMetaData and pass
through parameters to methods OR within each method have your Connection,
Statement, ResultSet, and DataMetaData objects.
One more quest
FYI!
I have found that vqserver is a very friendly servlet web server. There homepage is
at www.vqsoft.com. We use both tomcat and vqserver, I have not been able to
successfully setup jsp yet, but it is suppose to support it also.
Mike
___
BTW, here's a part of the servlet spec that I really dont like the wording
of.
quote --
SRV.7.7.3 Client Semantics
Due to the fact that cookies or SSL certificates are typically controlled by
the web
browser process and are not associated with any particular window of the
browser,
requests from
Hi,
This behaviour is browser dependant: from my experience opening a new
InternetExplorer window treats session as discussed (file->new->window
== same session, starting from start bar == new session).
However, be aware that ALL open Netscape windows on your screen are
likely to have the same s
If you open a new window from anywhere outside of the current window then it
will create a new session.
Closing a window will (usually) close out your current session as well. So
closing a window and reopening a new one will usually be the equivalent of
starting a new session.
-Tim
-Original
Hi !
I am using the class HttpSession for session tracking. I have a simple class
which just keeps a count and displays it.
When i run it in a browser, and hit refresh button, the count is incremented
correctly.
But if i open another window, the count restarts from 1. I was expecting
that even
Have you tried something like 'some
value'?
I´m not sure about < and > being valid entities under basic XML, but
you could declare them if not.
- Original Message -
From: "Gang Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 12:36 AM
Subject:
As per #1:
I'm not sure about what you said that all the get and set methods of
your second bean were called. That sounds weird.
Also if you use jsp:useBean tag in session context for example it should
not be calling anything if it already exists in that session.
d.
GOKHAN TUNA wrote:
> Hi,
this is not a servlet question at all is it?
But to not make this a pointless remark: you can't do it. What you
wrote as an example with two endings is incorrect XML
you have to enclose it in comments like this:
d.
Gang Zhang wrote:
> Hi:
> I am just wondering what should I do if I want
Hi all.
I'm using the MVC pattern for my current projects. In it, my servlet
is using a Front Controller type design pattern, finding out who requested
it (by using the REFERER header) and processing it before finding out what
the requested was (by using request.getServletPath()). It then
Folks,
Looking for a breadcrumb jsp tag - know about navtag37.tld but it is not quite doing
what I need it to do.
Does struts have anything to perform this funcitonality? Any other libs?
Steve
___
To unsubscribe, send ema
Hi,
I have just installed J2sdk1.4.0, Jbuilder6 Personal Version &
Weblogic 6.1. With both Jbuider6 & Weblogic 6.1, jdk1.3.1 is
installed as well but i wanna use j2sdk1.4. Will it cause any
problem if I delete the jdk1.3.1 provided with each of them & in
path instead of jdk1.3.1 write j2sdk1.4.
Hi,
Thanks for the reply. I had posted the problem in java servlet forum and I
got the solution from there, while streaming out the response received from
the Report Server I just had to add the the base tag to point to Report
Server in tag.
Thanks and Regards
Rashmi
-Original Message--
The following artical in Dr. Dobb's seemed interesting to me and wanted to
share with u all.
http://www.ddj.com/documents/s=7027/ddj0204f/0204f.htm
Sameer
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in t
Class.forname(class) is only to load the
class. Nor for making a connection.
We need to use DriverManager for
conenction.
String url =
"jdbc:oracle:oci8://server:port/DataBase"; // or thin String driver =
"oracle.jdbc.driver.OracleDriver";
//Loding the Database driver
Class.forNam
Hi,
Are you sure of the URL(mapping)?
ie; header (as its in the description) or "/back/"(code).
ASalam.
- Original Message -
From: "B C Joshi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 1:26 PM
Subject: Re: SERVLET-INTEREST Digest - 1 Apr 2002 to 2 Ap
Dear all,
i solved my second problem, with changing the address from
addressStr = "/MobilePBX/jsp/index.jsp";
to
addressStr = "/jsp/index.jsp";
but i still have my first problem.. maybe posting it to jsp-interest will
be better..
thanks
gokhan
GOKHAN TUNA
Hi, I have a problem in server side include feature of servlet.Iwant to
add one header in each of my servlet by including a header servlet.We are
using Tomcat 3.2 servlet container and Apache webserver.I have made a
header servlet named header and placed it at /webapps/WEB-INF/classes of
tomcat an
Hi
I am having problems with trying to prevent the caching of page content. I have
written a filter
public void doFilter (ServletRequest request,
ServletResponse response,
FilterChain chain)
{
try
{
HttpServlet
40 matches
Mail list logo