luke olegario wrote:

> Hi,
>
> Is there an alternative to redirection using java servlets and/or jsp pages?
>   Is it possible to invoke another servlet/JSP from a servlet/JSP without
> the need to redirect the request, and is it possible to pass query string
> parameters to that second servlet/JSP?  Redirection is often a slow process
> (especially if network traffic is heavy), and so if requests can be directly
> rerouted without going back to the client browser, that would really be a
> great performance gain.
>
> Thanks and Regards,
> Luke
>

See <jsp:include> and <jsp:forward> in the JSP environment, or the corresponding
RequestDispatcher.include() and RequestDispatcher.forward() calls in servlets.
There have been lots of discussions of how to use these things in this mailing
list, along with the SERVLET-INTEREST mailing list.

Craig McClanahan

===========================================================================
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