To use the filter with a Web application, these steps have to be followed:. Exception starting filter GzipFilter java. Post as a guest Name. My web app runs on Tomcat rather than Jetty. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Whenever I include jetty-servlets in my pom, my web application refuses to start, failing at the declaration of GzipFilter in the web.
|Date Added:||2 December 2010|
|File Size:||47.57 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
What happens when you don’t list that exclusion? Active 4 years, 2 months ago. To use the filter with a Web application, these steps have to be followed:.
Subscribe to RSS
The error is as follows, Mar 31, 3: Most of the solutions only compress the HTTP response which is fine for Web browsing where the request consists of just a few bytes. Perhaps you are using an older version of Tomcat? To use the filter with a Web application, these steps have to be followed: The error that you reported should go away, but you mind encounter another. I know that Jetty is another servlet engine, but I should be able to use individual components.
HTTP compression can drastically reduce gzilfilter.jar time. Sign up using Gzipfilter.jaar and Password.
Maven Repository: lter » atlassian-gzipfilter »
Gzipfilter.jag Chantz 2, 9 9 gold badges 46 46 silver badges 76 76 bronze badges. My snippet of pom. If not, servlet filters can be used. Mar 31, 3: Download the compression filter library gzippfilter.jar I am indeed using Tomcat 6. Whenever I include jetty-servlets in my pom, my web application refuses to start, failing at the declaration of GzipFilter in the web.
Installation It is easy to use the filter in your own program without changing source code. See also this question.
Improving the question-asking experience. I am trying to use the GZipFilter servlet provided in the jetty-servlets lib. My web app runs on Tomcat rather than Jetty. The filter decompresses a request if it finds a Content-Encoding header field. Hzipfilter.jar knew that Jetty-Servlets has a dependency on servlets-api, so I excluded it from the dependency in maven.
To get the most out of HTTP compression, the request should also be compressed.