You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bill Pfeiffer <ws...@tampabay.rr.com> on 2001/12/14 21:56:44 UTC

Re: RequestDispatcher.include loses request.attribute (tomcat 4.01)

BTW, using Tomcat 4.01 on jdk 1.3.1 01 on Win2000 sp2
----- Original Message -----
From: "Bill Pfeiffer" <ws...@tampabay.rr.com>
To: "Tomcat-User" <to...@jakarta.apache.org>
Sent: Friday, December 14, 2001 3:55 PM
Subject: RequestDispatcher.include loses request.attribute


I have written a tag that will include another jsp's contents based on a
user's login status.  I am attempting to pass data to the included jsp(s) by
setting an attribute on the request.  I then call
RequestDispatcher.include(req, resp).  The problem I am enountering is that
the included jsp does not see the attribute I set in the request within the
tag code.

It looks like the attributes are cleared before the included jsp is run.

I encountered this in SilverStream and it turned out to be a bug (which they
fixed).

Any ideas here?

TIA,

Bill Pfeiffer



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>