I have already committed the code to tomcat-4.0 CVS. You can get it from webapps\examples\web-inf\classes\compressionFilters\.... Cheers, Amy > > Hi Amy, > > I would really appreciate if you could mail me the source code for the > compression filter that you are referring to in your mails to the tomcat > dev mailing list. This is something that I've been wanting to do for a long > time. If I can look at your source code, I will get some good pointers on > things I would like to extend upon. > > Thanks in advance. > > KM > > Khurram Mahmood > Off: (408) 367-4443 > > > > > > "Amy Roh" > <amy@betavers To: [EMAIL PROTECTED] > ion.org> cc: > Subject: Re: Réf. : RE: Proposal for Compression Filter example > 03/21/01 > 10:31 AM > Please > respond to > tomcat-dev > > > > > > > Quoting "JULE, Nicolas - DSIA" <[EMAIL PROTECTED]>: > > > > > > > > > De : Craig R. McClanahan@craigmcc le 20/03/2001 23:31 > > Pour : > tomcat-dev@[EMAIL PROTECTED]@SMTP@Hays Hub > > cc : > > Faxer à: > > Objet : RE: Proposal for Compression Filter example > > > > > > > > On Tue, 20 Mar 2001, GOMEZ Henri wrote: > > > > > >I created an example web application using Filter technology > > > >and would like to > > > >add to Tomcat 4 example webapps. This example includes Data > > > >Compression Filter > > > >which compresses ServletResponse according to the threshold > > > >that can be set by > > > >users. I think it'll be a good example usage of filters. > > > > > > > >What do you think? > > > > > > +1 (may be a module for 3.3 ?) > > > > > > > | Anyone who wants to create a module for this kind of > functionality > > can, of > > | course, do so. The advantage of impementing it as a Filter is > > that it > > | will be portable to any 2.3 servlet container. > > > > Both are really interesting, but another Advantage for Filter is > > that it allow selective compression (I hope it will !) > > Yes, it does. It checks for compression support first then does the > compression. > > Amy > > > Systematic compression could break flows that are not destinated > to > > Browsers, but other Applications > > using HTTP as a Tunnel, in backend of the HTTPServer. > > > > > > Nicolas > > > > > I also recommand you to take a look at mod_gzip which > > > done that beautifully > > > > > > http://www.remotecommunications.com/apache/mod_gzip/ > > > > > > > Craig > > > > > > > > > > ********************************************************************** > > Ce message électronique et tous les fichiers attachés qu'il contient > > sont confidentiels et destinés exclusivement à l'usage de la personne > > à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, > > merci de le retourner à son émetteur. Les idées et opinions présentées > > dans ce messages sont celles de son auteur, et ne représentent pas > > nécessairement celles du Groupe HAYS plc ou d'une quelconque de ses > > filiales. > > La publication, l'usage, la distribution, l'impression ou la copie non > > autorisée de ce message et des attachements qu'il contient sont > > strictement > > interdits. > > > > Nous vous informons également que nous avons vérifié l'absence de virus > > dans > > ce message mais que, malgré ce contrôle, nous ne saurions être tenus > > pour > > responsables d'éventuels dégâts occasionnés par un virus non détecté. > > > > This e-mail and any attached files are confidential and intended > > solely for the use of the individual to whom it is addressed. If you > > have > > received this email in error please send it back to the person that sent > > it > > to you. Any views or opinions presented are solely those of author and > > do not necessarily represent those the HAYS plc group or any of its > > subsidiary > > companies. Unauthorized publication, use, dissemination, forwarding, > > printing > > or copying of this email and its associated attachments is strictly > > prohibited. > > > > We also inform you that we have checked that this message does not > > contain > > any virus but we decline any responsability in case of any damage caused > > > > by an a non detected virus. > > > > ********************************************************************** > > > > > > > >