Re: AW: euro character problem with tomcat compression Filter
Which version of Tomcat 4 are you using? I believe character encoding was fixed since 4.1.6. Amy Sergio wrote: The problem I comment, did not occurs before setting on the compressionFilter. I've changed also the request.setCharacterEncoding to iso-8859-15 and still works bad. The response object dont have a method to set the character encoding, but I can add a header: wrappedResponse.addHeader(charset,iso-8859-15) but this also dont works. How to change the character enconding that gzip uses ? Other idea ? Thx, Sergio. - Original Message - From: Torsten Fohrer [EMAIL PROTECTED] To: 'Tomcat Developers List' [EMAIL PROTECTED] Sent: Thursday, November 28, 2002 11:26 AM Subject: AW: AW: euro character problem with tomcat compression Filter ok... but if you set response content-type to text/html; charset: iso-8859-15, pages shows correctly with euro symbols in konqueror, netscape 4, ie and so on...if you have a font that contains it. -Ursprüngliche Nachricht- Von: Martin Algesten [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 10:17 An: Tomcat Developers List Betreff: Re: AW: euro character problem with tomcat compression Filter And failing that perhaps cp1252 if you are a windowz kind of guy. I find this page helpful: http://czyborra.com/charsets/iso8859.html Martin On Thu, 2002-11-28 at 07:46, Torsten Fohrer wrote: sorry, iso-8859-15 -Ursprüngliche Nachricht- Von: Torsten Fohrer [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 08:28 An: 'Tomcat Developers List' Betreff: AW: euro character problem with tomcat compression Filter try, to set the response encoding to 8559-15 cu Torsten -Ursprüngliche Nachricht- Von: Sergio [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November 2002 21:18 An: 'Tomcat Developers List' Betreff: euro character problem with tomcat compression Filter Hí techies! I'm having problems adding the tomcat compression Filter version 4.0.3 to my webapp. Some characters (like euro symbol ) that are printed in my jsp page with a method which return a field of a MSSQLServer table, are printed with the '?' symbol. I've modified the CompressionFilter.java servlet and modified the code. Before the call of doFilter method I set the request to my encoding: request.setCharacterEncoding(iso-8859-1); chain.doFilter(request, response); But this also does not work. Any solution or idea ? Sorry for my English. Thanks, Sergio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: euro character problem with tomcat compression Filter
And failing that perhaps cp1252 if you are a windowz kind of guy. I find this page helpful: http://czyborra.com/charsets/iso8859.html Martin On Thu, 2002-11-28 at 07:46, Torsten Fohrer wrote: sorry, iso-8859-15 -Ursprüngliche Nachricht- Von: Torsten Fohrer [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 08:28 An: 'Tomcat Developers List' Betreff: AW: euro character problem with tomcat compression Filter try, to set the response encoding to 8559-15 cu Torsten -Ursprüngliche Nachricht- Von: Sergio [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November 2002 21:18 An: 'Tomcat Developers List' Betreff: euro character problem with tomcat compression Filter Hí techies! I'm having problems adding the tomcat compression Filter version 4.0.3 to my webapp. Some characters (like euro symbol ) that are printed in my jsp page with a method which return a field of a MSSQLServer table, are printed with the '?' symbol. I've modified the CompressionFilter.java servlet and modified the code. Before the call of doFilter method I set the request to my encoding: request.setCharacterEncoding(iso-8859-1); chain.doFilter(request, response); But this also does not work. Any solution or idea ? Sorry for my English. Thanks, Sergio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: AW: euro character problem with tomcat compression Filter
ok... but if you set response content-type to text/html; charset: iso-8859-15, pages shows correctly with euro symbols in konqueror, netscape 4, ie and so on...if you have a font that contains it. -Ursprüngliche Nachricht- Von: Martin Algesten [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 10:17 An: Tomcat Developers List Betreff: Re: AW: euro character problem with tomcat compression Filter And failing that perhaps cp1252 if you are a windowz kind of guy. I find this page helpful: http://czyborra.com/charsets/iso8859.html Martin On Thu, 2002-11-28 at 07:46, Torsten Fohrer wrote: sorry, iso-8859-15 -Ursprüngliche Nachricht- Von: Torsten Fohrer [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 08:28 An: 'Tomcat Developers List' Betreff: AW: euro character problem with tomcat compression Filter try, to set the response encoding to 8559-15 cu Torsten -Ursprüngliche Nachricht- Von: Sergio [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November 2002 21:18 An: 'Tomcat Developers List' Betreff: euro character problem with tomcat compression Filter Hí techies! I'm having problems adding the tomcat compression Filter version 4.0.3 to my webapp. Some characters (like euro symbol ) that are printed in my jsp page with a method which return a field of a MSSQLServer table, are printed with the '?' symbol. I've modified the CompressionFilter.java servlet and modified the code. Before the call of doFilter method I set the request to my encoding: request.setCharacterEncoding(iso-8859-1); chain.doFilter(request, response); But this also does not work. Any solution or idea ? Sorry for my English. Thanks, Sergio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AW: euro character problem with tomcat compression Filter
The problem I comment, did not occurs before setting on the compressionFilter. I've changed also the request.setCharacterEncoding to iso-8859-15 and still works bad. The response object dont have a method to set the character encoding, but I can add a header: wrappedResponse.addHeader(charset,iso-8859-15) but this also dont works. How to change the character enconding that gzip uses ? Other idea ? Thx, Sergio. - Original Message - From: Torsten Fohrer [EMAIL PROTECTED] To: 'Tomcat Developers List' [EMAIL PROTECTED] Sent: Thursday, November 28, 2002 11:26 AM Subject: AW: AW: euro character problem with tomcat compression Filter ok... but if you set response content-type to text/html; charset: iso-8859-15, pages shows correctly with euro symbols in konqueror, netscape 4, ie and so on...if you have a font that contains it. -Ursprüngliche Nachricht- Von: Martin Algesten [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 10:17 An: Tomcat Developers List Betreff: Re: AW: euro character problem with tomcat compression Filter And failing that perhaps cp1252 if you are a windowz kind of guy. I find this page helpful: http://czyborra.com/charsets/iso8859.html Martin On Thu, 2002-11-28 at 07:46, Torsten Fohrer wrote: sorry, iso-8859-15 -Ursprüngliche Nachricht- Von: Torsten Fohrer [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 08:28 An: 'Tomcat Developers List' Betreff: AW: euro character problem with tomcat compression Filter try, to set the response encoding to 8559-15 cu Torsten -Ursprüngliche Nachricht- Von: Sergio [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November 2002 21:18 An: 'Tomcat Developers List' Betreff: euro character problem with tomcat compression Filter Hí techies! I'm having problems adding the tomcat compression Filter version 4.0.3 to my webapp. Some characters (like euro symbol ) that are printed in my jsp page with a method which return a field of a MSSQLServer table, are printed with the '?' symbol. I've modified the CompressionFilter.java servlet and modified the code. Before the call of doFilter method I set the request to my encoding: request.setCharacterEncoding(iso-8859-1); chain.doFilter(request, response); But this also does not work. Any solution or idea ? Sorry for my English. Thanks, Sergio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: AW: euro character problem with tomcat compression Filter
Add the following in your jsp page.. if you get the euro sign from jdbc driver, which codepage he use? %@ page contentType = text/html; charset: iso-8859-15 % euro; -Ursprüngliche Nachricht- Von: Sergio [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 12:50 An: Tomcat Developers List Betreff: Re: AW: euro character problem with tomcat compression Filter The problem I comment, did not occurs before setting on the compressionFilter. I've changed also the request.setCharacterEncoding to iso-8859-15 and still works bad. The response object dont have a method to set the character encoding, but I can add a header: wrappedResponse.addHeader(charset,iso-8859-15) but this also dont works. How to change the character enconding that gzip uses ? Other idea ? Thx, Sergio. - Original Message - From: Torsten Fohrer [EMAIL PROTECTED] To: 'Tomcat Developers List' [EMAIL PROTECTED] Sent: Thursday, November 28, 2002 11:26 AM Subject: AW: AW: euro character problem with tomcat compression Filter ok... but if you set response content-type to text/html; charset: iso-8859-15, pages shows correctly with euro symbols in konqueror, netscape 4, ie and so on...if you have a font that contains it. -Ursprüngliche Nachricht- Von: Martin Algesten [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 10:17 An: Tomcat Developers List Betreff: Re: AW: euro character problem with tomcat compression Filter And failing that perhaps cp1252 if you are a windowz kind of guy. I find this page helpful: http://czyborra.com/charsets/iso8859.html Martin On Thu, 2002-11-28 at 07:46, Torsten Fohrer wrote: sorry, iso-8859-15 -Ursprüngliche Nachricht- Von: Torsten Fohrer [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 08:28 An: 'Tomcat Developers List' Betreff: AW: euro character problem with tomcat compression Filter try, to set the response encoding to 8559-15 cu Torsten -Ursprüngliche Nachricht- Von: Sergio [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November 2002 21:18 An: 'Tomcat Developers List' Betreff: euro character problem with tomcat compression Filter Hí techies! I'm having problems adding the tomcat compression Filter version 4.0.3 to my webapp. Some characters (like euro symbol ) that are printed in my jsp page with a method which return a field of a MSSQLServer table, are printed with the '?' symbol. I've modified the CompressionFilter.java servlet and modified the code. Before the call of doFilter method I set the request to my encoding: request.setCharacterEncoding(iso-8859-1); chain.doFilter(request, response); But this also does not work. Any solution or idea ? Sorry for my English. Thanks, Sergio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
euro character problem with tomcat compression Filter
Hí techies! I'm having problems adding the tomcat compression Filter version 4.0.3 to my webapp. Some characters (like euro symbol ) that are printed in my jsp page with a method which return a field of a MSSQLServer table, are printed with the '?' symbol. I've modified the CompressionFilter.java servlet and modified the code. Before the call of doFilter method I set the request to my encoding: request.setCharacterEncoding(iso-8859-1); chain.doFilter(request, response); But this also does not work. Any solution or idea ? Sorry for my English. Thanks, Sergio
AW: euro character problem with tomcat compression Filter
try, to set the response encoding to 8559-15 cu Torsten -Ursprüngliche Nachricht- Von: Sergio [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November 2002 21:18 An: 'Tomcat Developers List' Betreff: euro character problem with tomcat compression Filter Hí techies! I'm having problems adding the tomcat compression Filter version 4.0.3 to my webapp. Some characters (like euro symbol ) that are printed in my jsp page with a method which return a field of a MSSQLServer table, are printed with the '?' symbol. I've modified the CompressionFilter.java servlet and modified the code. Before the call of doFilter method I set the request to my encoding: request.setCharacterEncoding(iso-8859-1); chain.doFilter(request, response); But this also does not work. Any solution or idea ? Sorry for my English. Thanks, Sergio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: euro character problem with tomcat compression Filter
sorry, iso-8859-15 -Ursprüngliche Nachricht- Von: Torsten Fohrer [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 08:28 An: 'Tomcat Developers List' Betreff: AW: euro character problem with tomcat compression Filter try, to set the response encoding to 8559-15 cu Torsten -Ursprüngliche Nachricht- Von: Sergio [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November 2002 21:18 An: 'Tomcat Developers List' Betreff: euro character problem with tomcat compression Filter Hí techies! I'm having problems adding the tomcat compression Filter version 4.0.3 to my webapp. Some characters (like euro symbol ) that are printed in my jsp page with a method which return a field of a MSSQLServer table, are printed with the '?' symbol. I've modified the CompressionFilter.java servlet and modified the code. Before the call of doFilter method I set the request to my encoding: request.setCharacterEncoding(iso-8859-1); chain.doFilter(request, response); But this also does not work. Any solution or idea ? Sorry for my English. Thanks, Sergio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
jsp:include problem with Compression Filter
Hello (Amy), I have found yet another problem with compression filter. If jsp page uses include action: jsp:include page=/pageToInclude.jsp flush=true/ then a new request is send to server. The result will be compressed and then compressed once again in the calling page, which make the result look pretty ugly ;-) I have found a pretty simple workaround of this problem. Include action should be extended with parameter gzip: jsp:include page=/pageToInclude.jsp flush=true jsp:param name=gzip value=false/ /jsp:include Compression filter will check the request for this parameter and decide if the page should be compressed or not: // Are we allowed to compress ? String s = (String) ((HttpServletRequest)request).getParameter(gzip); if (false.equals(s)) { if (debug 0) { System.out.println(got parameter gzip=false -- don't compress, just chain filter); } chain.doFilter(request, response); return; } I have attached the modified Files to this mail. A bit more debugging info was added to CompressionResponseStream. Let me know if you have better idea to solve the problem. BTW, the problem 9434 seems also to be fixed with previous check in. Regards, Dmitri Valdin (See attached file: filter.zip) -- Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. =?iso-8859-1?Q?filter.zip?= Description: Zip archive -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 10444] - Lack of i18n in compression filter
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10444. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10444 Lack of i18n in compression filter --- Additional Comments From [EMAIL PROTECTED] 2002-07-05 13:48 --- Created an attachment (id=2272) Patch to fix problem -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 10444] New: - Lack of i18n in compression filter
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10444. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10444 Lack of i18n in compression filter Summary: Lack of i18n in compression filter Product: Tomcat 4 Version: 4.0.2 Final Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Webapps:Examples AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] compression filter returns inapropriate Writer when encoding different then system default is used in servlet. I fixed the problem since its easy and going to send a patch tommorow (hoping cvs will be up and running tommorow :) ) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
compression filter flushBuffer
The CompressionServletResponseWrapper.flushBuffer method does not flush the writer if it exists. A PrintWriter may buffer some characters, so the method should be: public void flushBuffer() throws IOException { // System.out.println(flush buffer @ CompressionServletResponseWrapper); if (writer!=null) writer.flush(); else ((CompressionResponseStream)stream).flush(); } regards -- Greg Wilkins[EMAIL PROTECTED] GB Phone: +44-(0)7092063462 Mort Bay Consulting Australia and UK.Mbl Phone: +61-(0)4 17786631 http://www.mortbay.com AU Phone: +61-(0)2 98107029 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Compression Filter
The CompressionServletResponseWrapper class needs the following methods added: public void setHeader(String name, String value) { if (!Content-Length.equalsIgnoreCase(name)) super.setHeader(name,value); } public void setIntHeader(String name, int value) { if (!Content-Length.equalsIgnoreCase(name)) super.setIntHeader(name,value); } As it is valid for a servlet to set the content-length with a setHeader call. In fact, for cached, frequently requests resources it is better to reuse a String value of content-length than to constantly convert the same length int to a String. regards -- Greg Wilkins[EMAIL PROTECTED] GB Phone: +44-(0)7092063462 Mort Bay Consulting Australia and UK.Mbl Phone: +61-(0)4 17786631 http://www.mortbay.com AU Phone: +61-(0)2 98107029 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Proposal for Compression Filter example
Amy Roh [EMAIL PROTECTED] wrote: Hi, 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? Like it... CVS commit it :) Pier (freezing his butt in Dublin) -- Pier Fumagalli http://www.betaversion.org/ mailto:[EMAIL PROTECTED]
Re: Réf. : RE: Proposal for Compression Filter example
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 attachs qu'il contient sont confidentiels et destins exclusivement l'usage de la personne laquelle ils sont adresss. Si vous avez reu ce message par erreur, merci de le retourner son metteur. Les ides et opinions prsentes dans ce messages sont celles de son auteur, et ne reprsentent pas ncessairement celles du Groupe HAYS plc ou d'une quelconque de ses filiales. La publication, l'usage, la distribution, l'impression ou la copie non autorise de ce message et des attachements qu'il contient sont strictement interdits. Nous vous informons galement que nous avons vrifi l'absence de virus dans ce message mais que, malgr ce contrle, nous ne saurions tre tenus pour responsables d'ventuels dgts occasionns par un virus non dtect. 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. **
Re: Re:Réf. : RE: Proposal for Compression Filter example
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@betaversTo: [EMAIL PROTECTED] ion.org cc: Subject: Re: Rf. : 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 attachs qu'il contient sont confidentiels et destins exclusivement l'usage de la personne laquelle ils sont adresss. Si vous avez reu ce message par erreur, merci de le retourner son metteur. Les ides et opinions prsentes dans ce messages sont celles de son auteur, et ne reprsentent pas ncessairement celles du Groupe HAYS plc ou d'une quelconque de ses filiales. La publication, l'usage, la distribution, l'impression ou la copie non autorise de ce message et des attachements qu'il contient sont strictement interdits. Nous vous informons galement que nous avons vrifi l'absence de virus dans ce message mais que, malgr ce contrle, nous ne saurions tre tenus pour responsables d'ventuels dgts occasionns par un virus non dtect. 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. **
Re: Re:Réf. : RE: Proposal for Compression Filter example
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@betaversTo: [EMAIL PROTECTED] ion.org cc: Subject: Re: Rf. : 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 attachs qu'il contient sont confidentiels et destins exclusivement l'usage de la personne laquelle ils sont adresss. Si vous avez reu ce message par erreur, merci de le retourner son metteur. Les ides et opinions prsentes dans ce messages sont celles de son auteur, et ne reprsentent pas ncessairement celles du Groupe HAYS plc ou d'une quelconque de ses filiales. La publication, l'usage, la distribution, l'impression ou la copie non autorise de ce message et des attachements qu'il contient sont strictement interdits. Nous vous informons galement que nous avons vrifi l'absence de virus dans ce message mais que, malgr ce contrle, nous ne saurions tre tenus pour responsables d'ventuels dgts occasionns par un virus non dtect. 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. **
Re: Re:Réf. : RE: Proposal for Compression Filter example
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@betaversTo: [EMAIL PROTECTED] ion.org cc: Subject: Re: Rf. : 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 attachs qu'il contient sont confidentiels et destins exclusivement l'usage de la personne laquelle ils sont adresss. Si vous avez reu ce message par erreur, merci de le retourner son metteur. Les ides et opinions prsentes dans ce messages sont celles de son auteur, et ne reprsentent pas ncessairement celles du Groupe HAYS plc ou d'une quelconque de ses filiales. La publication, l'usage, la distribution, l'impression ou la copie non autorise de ce message et des attachements qu'il contient sont strictement interdits. Nous vous informons galement que nous avons vrifi l'absence de virus dans ce message mais que, malgr ce contrle, nous ne saurions tre tenus pour responsables d'ventuels dgts occasionns par un virus non dtect. 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. **
RE: Proposal for Compression Filter example
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 ?) I also recommand you to take a look at mod_gzip which done that beautifully http://www.remotecommunications.com/apache/mod_gzip/
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. I also recommand you to take a look at mod_gzip which done that beautifully http://www.remotecommunications.com/apache/mod_gzip/ Craig
RE: Proposal for Compression Filter example
+1 regards, haohan -Original Message- From: Amy Roh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 5:05 AM To: [EMAIL PROTECTED] Subject: Proposal for Compression Filter example Hi, 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? Cheers, Amy
Re: Proposal for Compression Filter example
On Tue, 20 Mar 2001, Amy Roh wrote: Hi, 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? Cheers, Amy +1 ... go for it. Craig