Tuesday, June 19, 2001, 6:50:56 PM, you wrote:
DR> Out is buffered for content length calculation as it's done in Sun's HTTP client
implementation. Try to use HTTP 1.1 chuncked stream not requiring to set content
length.
DR> Dmitry R., [EMAIL PROTECTED]
DR> Chief Software Architect, MetricStream.COM
DR> Santa Clara, CA
Just for the record, Tomcat doesn't send Content-length
Here is the typical response (less body) from 3.2.1:
HTTP/1.0 200 OK
Content-Type: text/html
Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows 95
4.10 x86; java.vendor=Sun Microsystems Inc.)
DR> -----Original Message-----
DR> From: T [EMAIL PROTECTED]
DR> Sent: Tue, 19 Jun 2001 18:26:03 -0400
DR> To: [EMAIL PROTECTED]
DR> Subject: flushing
DR> How can I flush Tomcat? Nothing from the PrintWriter reaches the
DR> browser until the servlet completes. flush() does nothing. Has anybody
DR> altered the facade classes to enable flushing?
DR> Why is Tomcat set up that way?
DR> Thanks.