-
Gzip Filter in web Application
Please guide me where to put my Gzip filter in my web directory structure.
I am listing my web.xml entry for the filter. Currently my filter is sitting in a filter package. when i run the app it gives an error saying
Error:
-------
FAIL - Application at context path /CofeeAdvice could not be started
please guide me what to do, if i remove my xml entry for the filter then my app runs otherwise it gives above error....Thanks
<filter>
<filter-name>GzipFilter</filter-name>
<filter-class>com.example.filter.GzipFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>GzipFilter</filter-name>
<url-pattern>/*.jsp</url-pattern>
</filter-mapping>
-
Try <url-patttern>*.jsp</url-pattern>
If it still doesn't work, may I suggest you try an alternative compressing filter which I wrote:
http://sourceforge.net/projects/pjl-comp-filter
It is fully documented and should perform better than GZIPFilter.
Similar Threads
-
By Al Guten in forum ASP.NET
Replies: 0
Last Post: 11-14-2002, 12:42 PM
-
By JULDUZ in forum ASP.NET
Replies: 0
Last Post: 08-29-2002, 09:40 AM
-
By Yair Alan Griver [MS] in forum .NET
Replies: 4
Last Post: 02-11-2002, 09:35 AM
-
By Tim Romano in forum .NET
Replies: 6
Last Post: 04-19-2001, 02:51 PM
-
By Tim Romano in forum .NET
Replies: 0
Last Post: 04-19-2001, 07:54 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks