Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6366

javax.servlet.http.NoBodyResponse incorrectly implemented

XMLWordPrintable

      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

            smcgowan@redhat.com Shelly McGowan (Inactive)
            sopwith_jira Elliot Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: