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/06/10 20:22:04 UTC

DO NOT REPLY [Bug 9754] New: - Request and response wrappers behavior

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

Request and response wrappers behavior

           Summary: Request and response wrappers behavior
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: shasti@us.ibm.com


SRV.6.2.2 Wrapping Requests and Responses says
>
> 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.

Above statement mandates that when forward/include is done using wrappers 
we need to pass same wrapper to the servlet invoked.  The above section 
doesn't clarify whether the rule is applicable only when forward/include 
is done in the same web module or in all the cases.

Tomcat implementation doesn't pass the same wrapper with forward/include
across webmodules.

Ideally we feel that the above statement in the spec should be valid
only with in a webmodule for webmodule isolation reasons. 

If it is applicable across Webmodules then Tomcat implementation needs to be
fixed. Otherwise we would like to see the clarification in Spec.

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