tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: Tomcat 4.0 Beta3 and Request Attributes Error
Date Wed, 02 May 2001 20:47:08 GMT

On Wed, 2 May 2001, Ana wrote:

> Hi,
> We think we have discovered an error. We call the include method of the 
> RequestDispatcher from a servlet. Then,  we  call the setAttribute method 
> of the request object  of the included JSP. If we call the getAttribute 
> method of the request object in the servlet (after the include call), then 
> there is not attribute.

Yes, you definitely found an error.  The spec is silent on whether an
included servlet can modify the request attributes of the request it
receives, but it seems like an obviously useful thing that should be

I just checked in a patch to fix it, which will show up in tonight's
nightly build (20010503).

Craig McClanahan

View raw message