See
http://docs.codehaus.org/display/JETTY/GZIP+Compression
See also
Tomcat Compression