Josh,
Content coming out of JVM is not gzipped and it is Apache which does
the gzipping.
I have pasted the log of my app server, which says that the Content-
Type returned is text/html.
[18:28:26.057] [id:19] start request
[18:28:26.057] [id:19] P: dispatch protocol
[18:28:26.057] [id:19] etag: /9p0NDHEL3x
[18:28:26.057] [id:19] host:
www.testing.com
[18:28:26.057] [id:19] query:
[18:28:26.058] [id:19] host 'Host[
www.testing.com]' no change
[18:28:26.058] [id:19] n
[18:28:26.058] [id:19] Q: end of request
[18:28:26.059] [19] keepalive (thread)
[18:28:26.059] [id:19] start request
[18:28:26.059] [id:19] P: dispatch protocol
[18:28:26.059] [id:19] etag: /9p0NDHEL3x
[18:28:26.059] [id:19] host:
www.testing.com
[18:28:26.059] [id:19] query:
[18:28:26.059] [id:19] host 'Host[
www.testing.com]' no change
[18:28:26.059] [id:19] n
[18:28:26.059] [id:19] Q: end of request
[18:28:26.059] [19] keepalive (thread)
[18:28:26.059] [id:19] start request
[18:28:26.060] [id:19] U:uri /HelloWorld.jsp
[18:28:26.060] [id:19] m:method GET
[18:28:26.060] [id:19] c protocol: HTTP/1.1
[18:28:26.060] [id:19] v server-host:
www.testing.com
[18:28:26.060] [id:19] g server-port: 80
[18:28:26.060] [id:19] h 10.0.102.21
[18:28:26.060] [id:19] i 10.0.102.21
[18:28:26.060] [id:19] j remote-port: 15771
[18:28:26.060] [id:19] H Host=
www.testing.com
[18:28:26.060] [id:19] H User-Agent=Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17
[18:28:26.060] [id:19] H Accept=text/html,application/xhtml
+xml,application/xml;q=0.9,*/*;q=0.8
[18:28:26.060] [id:19] H Accept-Language=en-us,en;q=0.5
[18:28:26.060] [id:19] H Accept-Encoding=gzip,deflate
[18:28:26.060] [id:19] H Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7
[18:28:26.060] [id:19] H Keep-Alive=115
[18:28:26.060] [id:19] H Connection=keep-alive
[18:28:26.060] [id:19] H Cookie=JSESSIONID=abcJlYGHbe1AP6_hj3cat;
_jsuid=394352885719168048
[18:28:26.060] [id:19] H If-Modified-Since=Wed, 18 May 2011 12:53:40
GMT
[18:28:26.060] [id:19] H If-None-Match="AAAATADKzAg"
[18:28:26.060] [id:19] H Cache-Control=max-age=0
[18:28:26.060] [id:19] H SCRIPT_URL=/HelloWorld.jsp
[18:28:26.060] [id:19] H SCRIPT_URI=http:/
www.testing.com/
HelloWorld.jsp
[18:28:26.060] [id:19] Q: end of request
[18:28:26.492] [id:19] s 200 OK
[18:28:26.492] [id:19] H ETag
[18:28:26.492] [id:19] S "AAAATADL41Q"
[18:28:26.492] [id:19] H Last-Modified
[18:28:26.492] [id:19] S Wed, 18 May 2011 12:58:26 GMT
[18:28:26.492] [id:19] H Content-Type
[18:28:26.492] [id:19] S text/html
[18:28:26.492] [id:19] G
[18:28:26.492] [id:19] D:data 391
[18:28:26.493] [id:19] data <<!DOCTYPE html PUBLIC "-/W3C/DTD XHTML
1.1/EN"
[18:28:26.493] "http:/
www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
[18:28:26.493] <html xmlns="http:/
www.w3.org/1999/xhtml"
xml:lang="en">
[18:28:26.493] <head>
[18:28:26.493]
[18:28:26.493]
[18:28:26.493] <title>Hello world</title>
[18:28:26.493] <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
[18:28:26.493]
[18:28:26.493] </head>
[18:28:26.493]
[18:28:26.493]
[18:28:26.493] <body>
[18:28:26.493] <h1>Hello World</h1
[18:28:26.493] <h2>Hello World</h2>
[18:28:26.493] <h3>Hello World</h3>
[18:28:26.493] <h4>Hello World</h4>
[18:28:26.493]
[18:28:26.493]
[18:28:26.493] </body>
[18:28:26.493] </html>
[18:28:26.493]
[18:28:26.493] >
[18:28:26.500] [id:19] Q: quit channel
Thanks,
Kishore