You can always use mod_gzip on apache to send compressed
 data... I take it you're trying to reduce your bandwidth usage ?

PS mod_gzip does very well

:)

Larry Meadors wrote:

>I do not think so. The JSPWriter is not able to send a byte array
>(something I found while trying to output a pdf 2 weeks ago...the hard
>way). 
> 
>It converts byte values to char values which are double bytes in java.
> 
>Your byte array may look like this {01 02 03}, but the JSPWriter sends
>out something like this {01 00 02 00 03 00} instead.
> 
>Larry
>
>  
>
>>>>[EMAIL PROTECTED] 05/02/02 07:38AM >>>
>>>>        
>>>>
>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?
>
>
>  
>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to