Telmo S� wrote:
> Hello all.
> I have the following question:
> Supose i have a servlet that processes a client request and then is passes
> the request to another servlet or JSP using the forward directive.
> What happens to the original servlet when i forward the request to the JSP
> or servlet.
> Does it hangs until the forwarded process completes or does it runs
> separatly.
>
> Thank you.
>
> Telmo
>
At the Java language level, RequestDispatcher.forward() is just like any other
method call. The calling servlet will pend, waiting for the called servlet to
return. After that, you will normally need to add a "return" statement
because the called servlet already created the response.
Craig McClanahan
___________________________________________________________________________
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