• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Configuring WSAD 51.1 to use filters--Help!

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Everyone:

I am working through an example on using a Compresse filter for *.jsp and *.html files. I am developing on WSAD 5.1.1.

I am not having much luck getting the application to use the GZIPFilter class.

I have used the tool to create the filter in web.xml

This is how WSAD accomplished the task:

When I run the test page, I get:



When I go into the web.xml and edit the filter information to:
[/code]
<filter>
<filter-name>GZIPFilter</filter-name>
<display-name>GZIPFilter</display-name>
<filter-class>com.jspbook.GZIPFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>
<url-pattern>*.html</url-pattern>
</filter-mapping>
[/code]
I get the following error:


Can some please point me in the right direction so I can test this compression filter?

Any help would be greatly appreciated.

Russ
 
reply
    Bookmark Topic Watch Topic
  • New Topic