You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ronald Klop <ro...@base.nl> on 2003/04/07 12:34:34 UTC

gzip and streaming output

Hello,

I have a servlet which writes javascript to the browser, which the 
browser than executes while reading it. This makes quite a nice 
interactive application. I use out.flush() to flush the data to the browser.
But when I enable (force) compression in Tomcat 4.1.24. It doesn't flush 
the data anymore. I thought gzip is a streaming protocol so flushing it 
must be possible. Is this true? Or are these kind of pages uncompressable?
If it's uncompressable, is there an attribute which prevents compression 
for this servlet only, so the rest of the pages is still compressed?

Greetings,

Ronald.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org