I have a lot of images on my webpage comming from a file system configured in server.xml of Tomcat 7 .
Now I am trying to use gzip in Tomcat 7 but still there is no reduction in page size specially my images are of same size . I am using struts2 and for compression I have used following code in my server.xml file
<Connector connectionTimeout="20000" maxPostSize="67589953" port="9090" protocol="HTTP/1.1" redirectPort="8443" compression="force" compressionMinSize="2048" noCompressionUserAgents="gozilla, traviata" compressableMimeType="image/jpeg" />