Hi,
You wouldn't even have to write such a filter, tons of them are freely
available online, see Google...

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: Jacob Kjome [mailto:[EMAIL PROTECTED]
>Sent: Monday, October 25, 2004 12:35 PM
>To: Tomcat Users List
>Subject: Re: GZip compression in 4.1.27 ..
>
>I'm not 100% sure of this, but I don't think GZIP compression was added
to
>the
>connector until Tomcat 5.0.xx.  Look at the appropriate docs to verify
>this.
>Either way, you can always write a servlet filter to do the
compression.
>This
>way you don't have to worry about whether Tomcat (or any other app
server)
>natively supports gzip compression.
>
>Jake
>
>Quoting Ben Bookey <[EMAIL PROTECTED]>:
>
>>
>> Dear Ladies and Gentlemen,
>>
>> This is a follow-on for a question from last week, but as its now on
a
>> "different-page" of the mailing list. I decided to
>> post another new questions, so no-one misses it.
>>
>> 1) Below is an original extract of my tomcat 4.1.27 server.xml.  I
want
>to
>> enable compression in my HTTP connector.
>> I have a customer with v. low bandwidth. I have read the Apache
readme
>> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html on
>this,
>> but I am still not 100% clear.
>>
>>
>> Would I be right in understanding that *ALL* I need to do (in the
case of
>TC
>> 4.*) is add the following attribute compression="on" ???
>>
>>
>>     <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 -->
>>     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>> port="8080"               minProcessors="5" maxProcessors="75"
>>                enableLookups="true" redirectPort="8443"
>>                acceptCount="100" debug="0" connectionTimeout="20000"
>>                useURIValidationHack="false"
disableUploadTimeout="true"
>/>
>>     <!-- Note : To disable connection timeouts, set connectionTimeout
>value
>>      to -1 -->
>>
>>
>> 2)  Any suggestions on a way of testing this in our high bandwidth
>> environment first ?
>>
>> regards
>>
>> Ben
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to