cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Jones" <gjone...@bellsouth.net>
Subject RE: gzipping content
Date Tue, 03 Sep 2002 04:06:53 GMT
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:ouzo@kompuart.pl] 
Sent: Saturday, August 31, 2002 9:56 AM
To: cocoon-users@xml.apache.org
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            //  \\
        \_\\  //_/      ouzo@vip.net.pl          _\\()//_
         .'/()\'.     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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message