javax.servlet.http.NoBodyResponse incorrectly implemented
---------------------------------------------------------
Key: JBAS-6366
URL:
https://jira.jboss.org/jira/browse/JBAS-6366
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web (Tomcat) service
Affects Versions: JBossAS-5.0.0.GA
Environment: Various Linux systems
Reporter: Elliot Lee
Assignee: Remy Maucherat
Tomcat bug #22290 seems to be present in javax.servlet.http.NobodyResponse (inside
client/jboss-javaee.jar). This breaks servlet spec SRV.8.2 and
See
http://mail-archives.apache.org/mod_mbox/tomcat-dev/200308.mbox/%3C200308...
Basically, any response wrappers must implement the ServletResponseWrapper interface. The
easiest way to do this is by extending HttpServletResponseWrapper. Right now the class
implements HttpServletResponse, which is not correct.
The class is implemented correctly in Jboss' servlet-api.jar, but not in
jboss-javaee.jar. My app happens to be picking up the one from jboss-javaee.jar instead of
servlet-api.jar.
It'd be even nicer if the duplication was eliminated :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira