[jboss-jira] [JBoss JIRA] Created: (JBAS-6366) javax.servlet.http.NoBodyResponse incorrectly implemented
Elliot Lee (JIRA)
jira-events at lists.jboss.org
Wed Jan 7 12:21:05 EST 2009
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/%3C20030811034243.19226.qmail@nagoya.betaversion.org%3E
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
More information about the jboss-jira
mailing list