Gzip Filter in web Application


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Gzip Filter in web Application

  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

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center