Charlie, do you mean to call doChain() in servlet? I am not sure if I
understand you.
"your code" means my filter code?
"put your code there" means where?
"you need to call doChain() first", from where? Servlet?
Sorry for my confusion. Thanks!
-Original Message-
From: Cox, Charlie [ma
One of the things that can possibly be used is the HttpSessionListener which would receive a notification when a session is invalidated . You can use this to keep track of dead sessions.
satish
andrea <[EMAIL PROTECTED]>
Sent by: "A mailing list for discussion about Sun Microsystem's Java
The second questions
- Original Message -
From: "Chen, Gin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 28, 2002 4:49 PM
Subject: Session Timeouts
> Hi all,
> I have an application that I set the session timeout for. Well,
true
> to form, after the timeout p
Great thanks for your help.
I'll have a look at that!
Thanks again.
dharmesh
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.
Get a copy of "Java Servlet Programming, 2d ed.," by Jason Hunter and check
out pp. 174-192. Anybody serious about writing servlets should read Jason's
book cover-to-cover.
Mark
-Original Message-
From: Dharmesh Patel2 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 11:01 AM
T
Read the servlet specs for the version you are using.
The most current (and being new you should be using the most current)
version is at:
http://jcp.org/aboutJava/communityprocess/first/jsr053/index.html
-Tim
-Original Message-
From: Dharmesh Patel2 [mailto:[EMAIL PROTECTED]]
Sent: Thurs
I think he means to a different servlet.
In this case, it would depend on if the servlet was within your application
or not.
If it is, then you can do a RequestDispatcher.forward. For the url of the
RequestDispatcher, you would have to build it to become a GET string by
pulling the params and buil
yea that usually what i do (note my last 3 lines) :)
If this is because he wants to see what is being passed by looking at the
URL,
then this can be done using System.out.print(ln) statements in the doXXX
statements.
-Tim
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
check
the src attribute in the tag
make
sure you're using the correct path..
hope
this helps
wilson
-Mensagem original-De: Vijay Naidu
[mailto:[EMAIL PROTECTED]]Enviada: quinta-feira, 28 de Março
de 2002 7:45Para: [EMAIL PROTECTED]Assunto:
Re: images not found.
Thanx Nic,
I thought this was a good way to handle it.
I was just looking for some confirmation, I'm kind of a needy person that
way. :)
-Tim
-Original Message-
From: Nic Ferrier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 11:13 AM
To: [EMAIL PROTECTED]
Subject: Re:
"Chen, Gin" <[EMAIL PROTECTED]> writes:
> Hi all,
> I have an application that I set the session timeout for. Well, true
> to form, after the timeout period passes, any requests to objects within the
> old session will result in nullpointerexceptions as that object no longer
> exists. So
Is this a trick question?
public void doPost( ... req, ... res) {
doGet( req, res);
}
Mark
-Original Message-
From: Matthias Hanel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 5:53 AM
To: [EMAIL PROTECTED]
Subject: Forward
I wanna forward a request from one Servle
Hi Vijay,
Im not sure what you mean about setting the contents type. I'm pretty new to
servlets and tomcat. could you elaborate or send me to some helpful references?
Thanks,
Dharmesh
___
To unsubscribe, send email to [EM
Try to use the following code, I did not test it, but it should work:
- from your servlet1 in the doPost method, write the following code to
call servlet2:
ServletContext context = getServletConfig().getServletContext();
servlet2 serv = context.getServlet("servlet2");
Hi all,
I have an application that I set the session timeout for. Well, true
to form, after the timeout period passes, any requests to objects within the
old session will result in nullpointerexceptions as that object no longer
exists. So now I want to handle timeouts more gracefully (give
Did u set the content type? that is the usual problem when u dont see a gif file in your page.
Vijay Naidu System Analyst
-Smile Is A Curve That Makes Everything Straight. Keep Smiling
--
http://java.sun.com/docs/books/poster/
(duh).
Mark
-Original Message-From: Halil AKINCI
[mailto:[EMAIL PROTECTED]]Sent: Thursday, March 28, 2002 8:41
AMTo: [EMAIL PROTECTED]Subject: object
diagram of java
Can anyone has a figure that depicts object
diagram of java?
Hi Everyone,
I have a servlet which does some processing and then generates a html page in
the doPosthowever, the images and the javascript files don't load with it.
Do they have to be in a special directory?
Please help.
thanks,
Dharmesh
___
Send the code or send us the errors. we could help you then.Vijay Naidu System Analyst-Smile Is A Curve That Makes Everything Straight. Keep Smiling-Chat with friends onl
Have you tried using the method response.sendRedirect(http: // ...
/servlet/LoginServlet)
to see if this does what you are wanting?
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "
Can anyone has a figure that depicts object diagram
of java?
send it ...
-Original Message-
From: Halil AKINCI [mailto:[EMAIL PROTECTED]]
Sent: 28 March 2002 12:40
To: [EMAIL PROTECTED]
Subject: check it please
Hi,
I'm trying to write a servlet. In my application a client will fill a HTML
form (type his/her tax number) on the browser and send t
Hi,
I'm trying to write a servlet. In my
application a client will fill a HTML form (type his/her tax number) on the
browser and send this information to a servlet. Servlet will access an MS
Access database, and execute a query using this information, and
return the results of the quer
Hi!
It's all in the "user-agent" header.
/Mathias
-Ursprungligt meddelande-
Från: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]För Matthias Hanel
Skickat: den 28 mars 2002 13:08
Till: [EMAIL PROTECTED]
Ämne: Browsers
How
How do I decide without javascript, which browser is used ?
Hanel Matthias
Fachinformatiker (Anwendungsentwicklung) in Ausbildung
Logistik World GmbH Fon:+49-841-9014-300
Marie-Curie-Strasse 6
Hello All
I
have code for downloading a text file a server to the local system in a JSP page and not as a seperate Servlet,but
it is giving me a "IllegalStateException" the
snippet of the code is
String fname1 = ""+user.getBusinessId();
String f
I wanna forward a request from one Servlet to another.
My problem is, that I'm sending the forward in the post method and wanna
receive it
in the get method of the other servlet.
But I always receive it in the post method.
Is There a possibility to solve this problem?
--
You may want to check servlet-interest archives and servlets specification for
flushBuffer.
Marco
- Edited Message -
From: "Varley, Roger"
Subject: When does the response get written
> Is the browser guarenteed to complete the display of the output when
> I flush and close the respons
restarting the tomcat has some problmes on windows paltform
why dfont you use the tomcat manager application to restart the context
.
visit http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
Regards
guru
-Original Message-
From: Ying Su [mailto:[EMAIL PROTECTED]
29 matches
Mail list logo