gzip « jetty « Java Enterprise Q&A

1. Problem setting up GzipFilter in Jetty    stackoverflow.com

I'm trying to setup Jetty to serve compressed html content. In web.xml I setup GzipFilter and mapped it to /* but this doesn't seem to work. Here's the filter configuration:


2. java: Easiest way to gzip all my webapp content with Jetty?    stackoverflow.com

I have some large pages and javascript files being downloaded from a web app using Jetty. What is the easiest way to GZIP all my content. I am hoping for something ...

3. Jetty removes Content-Encoding: gzip header    stackoverflow.com

I'm using Jetty 6.1 together with PJL Compressing Filter. Jetty removes the following header from the response:

Content-Encoding: gzip
This causes that most browsers cannot display the page anymore and show something ...