Hi, I'm trying to use the java.util.zip classes to compress the output
from servlets if browsers indicate they can handle it, starting with the
example code from 'Java Servlet Programming'. I'm finding that the
response is never quite correct - in IE 5.0b2 preview I just get a
browser window full of encoded content, and in Netscape 4.5 the browser
treats the output as text/plain rather than text/html, even though I am
explicitly setting the content-type header to reflect that is it html.

Has anyone had any experiences with these problems? It would be
particularly useful to be using the compression functions as I'm serving
up forms of 200k+ from the servlets to modem users and it's somewhat
tiresome for them!

Thanks,

Simon Christian

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to