You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/03/04 03:23:57 UTC

DO NOT REPLY [Bug 6831] New: - response.sendRedirect() causes a connection: close

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6831>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6831

response.sendRedirect() causes a connection: close

           Summary: response.sendRedirect() causes a connection: close
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kelsey.grant@orion.co.nz


When sending a response.sendRedirect() from a servlet, this eventually comes 
out to the client with a connection: close, and a webpage attached to this.

Debugging through, it seems that there is no way to tell it not to send the 
webpage (and hence, no content length, the connection close). Furthermore, any 
filters are processed prior to the outputting, so a content length buffering 
filter is ignored.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>