This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I can see compression of a static page (jsp, html etc.) by typing: localhost:8080/myDomain/myHtml.htm, or localhost:8080/myDomain/myJsp.jsp. However, when I try using a servlet e.g. as: localhost:8080/myDomain/MyServlet I see the same size of byte and do not see any compression. MyServlet is a very seimple servlet which spits out content in browser like "Hello World". MyServlet works like JSP to spit out the content in browser. Any idea on why I do not see any compression while I use Servlet URL? Is it a tool for testing only the resource?