This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Gzip Filter in Web Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Gzip Filter in Web Application" Watch "Gzip Filter in Web Application" New topic

Gzip Filter in Web Application

Mohammad Ali

Joined: Jan 03, 2006
Posts: 11
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
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

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

I think that your GzipFilter.class should be under "WEB-INF/classes/com/example/filter/"

Note that /*.jsp is not a valid url mapping
[ January 04, 2006: Message edited by: Satou kurinosuke ]

[My Blog]
All roads lead to JavaRanch
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Gzip Filter in Web Application
jQuery in Action, 3rd edition