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.
dup per .. http://marc.theaimsgroup.com/?l=tomcat-dev&m=105419767921921&w=2 *** This bug has been marked as a duplicate of 8566 ***