DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Location
    New York
    Posts
    9

    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>

  2. #2
    Join Date
    Mar 2006
    Posts
    1
    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

  1. Web Farm Application State
    By Al Guten in forum ASP.NET
    Replies: 0
    Last Post: 11-14-2002, 12:42 PM
  2. Replies: 0
    Last Post: 08-29-2002, 09:40 AM
  3. yag's status report - Feb 7, 2002
    By Yair Alan Griver [MS] in forum .NET
    Replies: 4
    Last Post: 02-11-2002, 09:35 AM
  4. using Web Service classes
    By Tim Romano in forum .NET
    Replies: 6
    Last Post: 04-19-2001, 02:51 PM
  5. Replies: 0
    Last Post: 04-19-2001, 07:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links