tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: JSP's GzippedOutputStream
Date Thu, 02 May 2002 16:22:47 GMT


On Thu, 2 May 2002, Ivan Balashov wrote:

> Date: Thu, 2 May 2002 17:38:27 +0400
> From: Ivan Balashov <Ivan.Balashov@pobox.spbu.ru>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>,
>      Ivan Balashov <Ivan.Balashov@pobox.spbu.ru>
> To: tomcat-user@jakarta.apache.org
> Subject: JSP's GzippedOutputStream
>
> Hi!
> Afaik servlets may produce Gzipped template output something like this:
>   .......
>   OutputStream out1 = response.getOutputStream();
>   out = new PrintWriter(new GZIPOutputStream(out1), false);
>   response.setHeader("Content-Encoding", "gzip");
>   .........
>
> But how we can do that with JspWriter? Is it possible to do similar
> with JSP?
>

No.

JSP is for text output only, not binary.

> Use Tomcat 4.x
>
> Thanks!
>
>
> --
> Sincerely yours,
>  Ivan                          mailto:Ivan.Balashov@pobox.spbu.ru
>

Craig


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message