On Thu, 4 Mar 2004, Craig R. McClanahan wrote:

> This technique works fine.  In a Servlet 2.4 environment (Tomcat 5 or later)
> environment, however, it is unnecessary ... when the Struts controller servlet
> executes the RequestDispatcher.forward() call, the servlet container will
> create request attributes under the following keys, to capture the path
> elements of the original request (rather than the new request):
>
> * javax.servlet.forward.request_uri
> * javax.servlet.forward.context_path
> * javax.servlet.forward.servlet_path
> * javax.servlet.forward.path_info
> * javax.servlet.forward.query_string
>
> For more info, see Section SRV.8.4.2 of the Servlet 2.4 spec.

Hopefully you won't mind me using you as a walking spec for a
clarification. If it forwards twice to a third jsp file, what do the
properties above refer to? The first uri or the second?

Thanks,

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to