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?

Reply via email to