tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Claxton <>
Subject flushing output to the browser fails
Date Mon, 14 Apr 2003 02:04:31 GMT
We have a servlet that flushes output to the browser, and it works fine on
Websphere & IIS, but it doesn't work with our Tomcat environment.  Our
environment is RH Linux 8, Apache 2.0, and Tomcat 4.1.18.  We have
connected Apache and Tomcat, using AJP13.

The servlet is doing a lot of backend processing, and needs to keep the
browser connection alive by flushing a status line at the end of each loop.
 The code that handles the output flush is very simple:

try {
	String str = getString("status_message");
	OutputStream fout = (OutputStream) vars.get("_output");
} catch (Exception err) {}

Is this perhaps a configuration issue with Tomcat or the connector?

        Regards, Bill Claxton []
        OpenAsia Solutions provides streaming media & payment solutions.
        Check out

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message