On Fri, 21 Dec 2001, Sarb Singh wrote:

> Date: Fri, 21 Dec 2001 11:20:48 -0600
> From: Sarb Singh <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Question with request dispatchers?
>
> Hello I have the following question about resquest dispatcher .include
> /forward  methods.
>
> I have  a servlets (lets call it S)  that uses the dispatcher to forward the
> requequest to a JSP (lets call it (J)). This has Jsp uses a tag library
> (lets calle it T) that uses the dispatcher to inlcude another JSP page
> (lests call it J2).
>
> When you use the the dispatch include, when i set request attrribute in the
> included JSP2 file, these valued disappera when the control goes back to the
> JSP1 file.
>
> Can attributes be set to the request object from the included page that will
> be visible to the including page, or is the request of the included page a
> new indipendent request.
>
> Here is a summary of what I said.
>
> S--forwards--> J - has T ---- includes--> J2.
>
> If I set attributes in the request object from J2, will i be able to see
> those attribute values from J or T?
>

Which version of Tomcat are you using?  You are correct in assuming that
this should work, and it does in Tomcat 4.

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to