Anyone have any ideas how to compress jsp pages using the content-encoding
http1.1 header?
It turns out that gzip compression works well by default in both browsers. For
low bandwidth connections, such as mobile computing, it's a good technique to
reduce your traffic by 50-70%. It's easy to do with servlets because you just
filter the output through a gzip output stream before sending it back to the
servlet output stream, setting the content-encoding header (you can determine
when to do this by looking at the accepts-encoding request header).
But it's problematic to this with JSP's because you don't have access to the jsp
writer this way. The only thing I can think of is using servlet chaining but we
can't get that to work in JRun, particularly with redirects.
Bill Kayser
===========================================================================
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