Peter Schuller wrote:
>
> Hello,
>
> Is it possible to "forward" the POST/GET data of a request, from a JSP to a
> servlet? Eg, instead of manually extracting the parameters the servlet wants
> and using them in the <jsp:include> tag, just have the servlet get access to
> the original request.
>
> This would make some things much easier. Both in terms of automating page
> generation and handling forms.
That's exactly what <jsp:forward> and <jsp:include> do; they invoke the
specified page with the same request object, so the new page (or servlet)
has access to all the original parameters.
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
===========================================================================
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