You just have to change the 2.2 standard at the top of the web.xml to
point to the 2.3:

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>

This will work. Also make sure that you add the filter at the top of
your web.xml or it will blow up on you i.e.:

<web-app>
  <display-name>Cocoon2 Demo</display-name>
  <description>Demo application for Cocoon2</description>

  <!-- ================================  FILTERS
============================= -->
   <filter> ....




- Greg

-----Original Message-----
From: Leszek Gawron [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, August 31, 2002 9:56 AM
To: [EMAIL PROTECTED]
Subject: gzipping content


I wanted to gzip the content coming "out of cocoon" so i wanted to add
gzip filter to web.xml file first it occured to me that web.xml is in
servlet 2.2 standart not in 2.3 
so is it possible ? I wouldn't like to use Apache frontend.
        ouzo
        
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/      [EMAIL PROTECTED]          _\\()//_
         .'/()\'.     Phone: +48(600)341118     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


---------------------------------------------------------------------
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]>


---------------------------------------------------------------------
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