Re: GZIP, JSP and servlet

2001-05-02 Thread sayguney
I think the latest servlet spec. brings the concept of filters which you can install as the post-processor for your output streams. Tomcat 4.0 should have support for this (and as far as I remember one sample filter that comes with it is the GZIP filter). Also Apache should have a way for this

Re: GZIP, JSP and servlet

2001-05-02 Thread Cécile QUERAN
for your help. L. QUERAN - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 02, 2001 1:27 PM Subject: Re: GZIP, JSP and servlet I think the latest servlet spec. brings the concept of filters which you can

GZIP, JSP and servlet

2001-05-01 Thread Cécile QUERAN
Is there a way to gzip the output of a JSP ? Based on the HTTP Accept-Encoding header field, I open a GZIPOutputStream if supported by the client browser, and I send the response.getOutputStream in it. This is within a servlet. When I just write directly in the GZIPOutputStream, it works fine.

Re: GZIP, JSP and servlet

2001-05-01 Thread John Clark L. Naldoza
Cécile QUERAN wrote: Is there a way to gzip the output of a JSP ? Based on the HTTP Accept-Encoding header field, I open a GZIPOutputStream if supported by the client browser, and I send the response.getOutputStream in it. This is within a servlet. When I just write directly in the