High performance Compression ServletFilter created for WebLogic Server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Building the GZIP filter from src

GZIP Filter Usage :
Add the gzip-filter.jar included in this distribution 
into your war's WEB-INF/lib directory. Register the gzip 
filter in your web.xml as shown in the WEB-INF/web.xml 



Mapping the Filter : 
        Map all resources which can benefit from compression such as
.txt, .log, .html and .htm. You can also use the filter to compress output
 from jsps and other dynamic content. Typically compressing certain image 
types does not prove to be advantageous since they are already compressed
so make sure they are not mapped to the gzipfilter.

Example : also shown in the accompanying web.xml 



Building the gzip-filter.jar
        The build.xml provided in the root directory of the gzipfilter can be used to compile and create the gzip-filter.jar. Run the following command to create a jar file:

ant jar

This creates a jar called gzip-filter.jar in the WEB-INF/lib directory. Please ensure that the servlet-api.jar is present in the $CLASSPATH

Please post your feedback or comments to www.nagiworld.net.