Hi !

If I understand correctly, the forward() method of the RequestDispatcher
object passes the request to the designated URL, (which must not be a
servlet, right ?), and control should never return to the servlet which did
the fowarding.

My (second) question is : is this really true ? In the affirmative, then it
seems the is a bug somewhere because I have some code in my servlet after
the forwarding code, and it gets executed. To make matters worst, the fact
that execution continues or not seems to be dependant on the code after the
forward() statement. In my case test case, execution continues if I put a
System.out.println() but does not if I put a second forward() statement. I
know that this sounds pretty esoteric, but since I cannot understand what is
happening myself, I am asking you.

Btw, I am using JWS 2.0.

Thanks for your help.

Martin.
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to