You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/05/13 20:36:57 UTC

DO NOT REPLY [Bug 9044] - FilterChain passes wrong request to servlet

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9044>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9044

FilterChain passes wrong request to servlet

craig.mcclanahan@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From craig.mcclanahan@sun.com  2002-05-13 18:36 -------
Caching a request and re-using it later violates Section 4.10 of the 2.3 spec,
which says that a particular request object is valid only with the scope of a
servlet's service() method (if you're not using filters) or doFilter() method
(if you are).  The fact that it works on a particular container is not relevant
-- it is guaranteed to cause you grief on any container that recycles request
instances (as Tomcat does).

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>