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]
