Thanks!! :) "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: Howdy, Yup, it would be attempted twice (if the request matches both the filter and the connector, which is the default setup). Personally I prefer the filter, as it's more portable and not tomcat-specific.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Ron Andersen [mailto:[EMAIL PROTECTED] >Sent: Tuesday, December 09, 2003 9:30 AM >To: Tomcat Users List >Subject: RE: Compression 5.0.16 - web.xml or server.xml > >Thanks..one last question..does this means if compression is turned on in >the server.xml and web.xml, compression is attempted twice?? If so, which >one should be enabled and whcih one should be disabled? > >"Shapira, Yoav" wrote: >Howdy, >There is a compression filter that ships with tomcat as an example, and >that's what you enabled. The Coyote connector also supports compression >as the documentation indicates, it's just that compression is not >enabled by default so you don't see it in server.xml. > >Yoav Shapira >Millennium ChemInformatics > > >>-----Original Message----- >>From: Ron Andersen [mailto:[EMAIL PROTECTED] >>Sent: Monday, December 08, 2003 4:39 PM >>To: Tomcat Users List >>Subject: Compression 5.0.16 - web.xml or server.xml >> >> >>After reviewing the Tomcat 5. doco for the Coyotte connector (port >808), it >>stated that the compresssion attribute is part of the connector tag?? >> >>http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/coyote.html >> >>However, after downloading the Tomcat 5.0.16 and reviewing the >connector >>tag within server.xml file, I could not find this attribute. After >setting >>compression to "on" in the admin console, it uncommented the >>Compression Filter in the WEB-INF/web.xml >file. >>However, it still did not add anything to the Coyotte connector. Is the >>doco wrong(i.e. should the compression attribute be included in the >Coyotte >>connector tag)? >> >>Also, (as stated earlier in an earlier email) there are other >attributes >>associated with compression? Which file should they be included in - >>server.xml or web.xml??? >> >>Jacob Kjome wrote: >> >>You should verify information with the official Tomcat docs before >posting >>questions here. >>http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html >> >>If you don't find the answers in Tomcat's own docs, then don't hesitate >to >>ask further questions. >> >>Jake >> >>At 07:39 AM 11/30/2003 -0800, you wrote: >>>Thanks! >>> >>>I was reading the Wrox's "Professional Tomcat" book and it states that >>>Tomcat's web servers does not support Virtual Hosts. Does it now >support >>>Virtual Hosts? >>> >>>Jacob Kjome wrote: >>> >>>The Coyote connector supports this already. No need to write a servlet >>>filter. Look in server.xml or the tomcat docs for details. >>> >>>Jake >>> >>>At 03:16 PM 11/30/2003 +0100, you wrote: >>> >Ron Andersen wrote: >>> > >>> >>Is GZIP-encoding/mod_gzip avaliable in Tomcats web server? >>> >> >>> > >>> >Hello, >>> > >>> >You can write a ServletFilter, and a HttpServletResponse wrapper to >>> >achieve the same results. >>> > >>> >Look into java.util.zip.* >>> > >>> >-- I never said it was easy ;-) >>> > >>> >Antonio Fiol >>> > >>> > >>> >>--------------------------------------------------------------------- >>> >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] >>> >>> >>>--------------------------------- >>>Do you Yahoo!? >>>Protect your identity with Yahoo! Mail AddressGuard >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >>--------------------------------- >>Do you Yahoo!? >>Protect your identity with Yahoo! Mail AddressGuard > > > >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] > > > >--------------------------------- >Do you Yahoo!? >Protect your identity with Yahoo! Mail AddressGuard 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] --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard
