tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34956] - Tomcat should enforce the requirements from servlet 2.4 specification SRV.8.2
Date Wed, 08 Jun 2005 13:53:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34956>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34956





------- Additional Comments From christian.buchegger@bea.com  2005-06-08 15:53 -------
I would say what Carlin describes is a different bug and is not what the
original request is about. I propose to open a new bug for this. 

Here a clarification what this bug is about:

Tomcat allows to do sth like that:

a)  create a own implementaion of javax.servlet.http.HttpServletRequest
public class MyRequestImpl implements javax.servlet.http.HttpServletRequest {
....
}

b) use that request objectt in a forward call
    javax.servlet.RequestDispatcher rd =
        wrapper.getRequestDispatcher("somepage.jsp");
    
    MyRequestImpl myRequest=new MyRequestImpl();
    rd.forward(myRequest, response);

This is against the spec, which clearly says either the original request or
HttpServletRequestWrapper has to be used.

You can find a real live example for this in the cocoon code. Sepcifically in
org.apache.cocoon.components.jsp.JSPEngineImplNamedDispatcherInclude from cocoon
 2.0.4.

Thanks

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message