hi,
that is exactly what i quoted to my colleague. though he states that
"Though the JSP spec is definitive, the spec it references is not."
The current jsp engine(Oracle JSP engine) we have does not supports this
and i
am not sure if the jsp engine with Java Web Server supports it??
Thanks.
Sandeep.
"Craig R. McClanahan" wrote:
>
> Sandeep Yarramreddy wrote:
>
> > hi,
> > i have a question on jsp:forward.
> > Does the jsp 1.0 spec say that the request parameters are carried on
> > from one
> > page to another when a jsp:forward is invoked.
> > for ex.
> > page1.jsp there is some form. action sends it to page2.jsp.
> > in page2.jsp you forward to page3.jsp. so in page3.jsp can i look
> > up the parameters defined in page1.jsp. my understanding of
> > the spec says that it does, but my colleague says the spec
> > does not. Can somebody please clarify.
> >
>
> For servlets, the 2.2pr2 spec is not incredibly clear on this point, but my
> interpretation of Section 8.1.1 is that the original request parameters are
> included. You are allowed to add additional ones by including them in the string
> you pass to getRequestDispatcher.
>
> For JSP, the 1.1 spec is quite a bit more clear, in Section 2.13.6 which discusses
> <jsp:param>:
>
> When doing jsp:include or jsp:forward, the included
> page or forwarded page will see the original request
> object, with the original parameters augmented with
> the new parameters ...
>
> in other words, the original parameters are still defined and visible in the
> forwarded-to page.
>
> >
> > Thanks.
> > Sandeep.
> >
>
> 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