Mike Engelhart wrote:

> IAlso on a related note, does forwarding a request to a JSP make the servlet
>
> return from it's service method or does it continue until it's finished?
>

If you are using <jsp:forward> in a JSP, you can think of this as a "go to"
statement.

If you are using RequestDispatcher.forward() in a servlet, the method call
*does* return.  However, you are no longer able to modify the response in any
way.  I just stick a "return" statement after my calls to the forward()
method.

>
> Thanks,
>
> Mike
>

Craig McClanahan

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to