We haven't used it with Win95 but we have had problems with IE5 crashing on
certain pages.
In addition, Netscape won't print compressed pages properly in many cases.
The content coding is separate from the character encoding so it seems like in
principle you should be able to do this. Clearly there are no hooks in the
current JSP spec to be able to do this but I don't agree that just because JSP
is meant for text that you shouldn't be able to do this. Conceptually the
content encoding takes place at another layer. Servlet chaining seems like the
only obvious way of doing this but we couldn't get it to work in JRun.
I'm disappointed that the use of JSP prevents us from using compression. I
don't suppose there'd be much support for the idea of adding some kind of
support into the JSP spec for this...
Bill
Jason Hunter <[EMAIL PROTECTED]> on 12/03/99 11:44:52 PM
To: Bill Kayser/Worldstreet
cc: [EMAIL PROTECTED]
Subject: Re: How to compress JSP pages using Content
Encoding
Kayser William wrote:
>
> Anyone have any ideas how to compress jsp pages using the
> content-encoding http1.1 header?
It's my belief that you can't, because JSP is meant for writing text,
and GZip output is binary.
> It turns out that gzip compression works well by default in both
> browsers.
I've seen problems using IE4 on Win95. Have you always had success
there?
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html