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=11798>.
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=11798

use of response.flushBuffer in .jsp script results in unterminated HTTP response/ 
browser hangs

           Summary: use of response.flushBuffer in .jsp script results in
                    unterminated HTTP response/ browser hangs
           Product: Tomcat 4
           Version: 4.0.4 Final
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


With the default tomcat configuration from the download, executing the script
shown below (e.g. by dropping it into webapps/examples) will send back the
proper HTML to the browser, but the browser will hang (I tired Mox 1.0 and IE6),
seemingly because the connection is not properly terminated. The script works
fine if the response.flushBuffer() call is removed. 

I tried this with both 4.0.4 and 4.1.9. On the bright side, it does flush just
fine ...

<HTML>
<BODY>

Begin <P>

<%
   response.flushBuffer ();
%>

End <P>

</BODY>
</HTML>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to