Some where in servlet spec or API says this should be the first line of code
and should return after this statement. If you are not returning then it
will process the rest of the code also.
Madhavi
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Praveen Kumar S .
Sent: Tuesday, February 22, 2000 2:31 AM
To: [EMAIL PROTECTED]
Subject: Basic question or Servlets
Hai All,
I had a basic question on Servlets.
Question is this:
In doPost method I had a statement like
resp.sendRedirect(some url);
My question is why the statements written after the above line of code
getting executed. Does it mean that the servlet will redirect to the given
url only after executing the statements written after the resp.sendRedirect
statement
Thanks in advance
Kishore Veleti
___________________________________________________________________________
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/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
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/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html