Hello.

Does anybody know how to configure a filter
for Cocoon servlet ? My goal is to zip
the output with a CompressionFilter, as documented
in Tomcat 4.0 examples.
I'm trying to put this code in mu web.xml descriptor
but it does nothing at all...

 <filter>
   <filter-name>Compression Filter</filter-name>
  
<filter-class>compressionFilters.CompressionFilter</filter-class>
   <init-param>
     <param-name>compressionThreshold</param-name>
     <param-value>10</param-value>
   </init-param>
  </filter>

 <filter-mapping>
   <filter-name>Compression Filter</filter-name>
   <url-pattern>/*.txt</url-pattern>
 </filter-mapping>


Any help would be more than welcome !

Thanks.

David LAGARDERE

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to