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 2003/05/28 22:32:01 UTC

DO NOT REPLY [Bug 20314] New: - Wrapped request object not the same when forwarding to a web resource in a filter

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=20314>.
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=20314

Wrapped request object not the same when forwarding to a web resource in a filter

           Summary: Wrapped request object not the same when forwarding to a
                    web resource in a filter
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: nils_flemstroem@hotmail.com


SRV.6.2.2 "Wrapping Requests and Responses" in Servlet 2.3 specification not 
fully implemented???

"The same requirement of wrapper object identity applies to the case where the 
developer passes a wrapped request or response object into the request 
dispatcher; the request and response objects passed into the servlet invoked 
must be the same objects as were passed in."

When I tried wrapping of a request object in a filter and then forwarding the 
request to a web resource I got another request object at the destination. 
Worked fine when I used the doFilter() method.

/Nils Flemstr�m, Sweden

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org