tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt B" <MBeck...@sourcetechcorp.com>
Subject Gzip
Date Thu, 28 Dec 2000 18:34:11 GMT
I want to use GZip compression on JSP page.  I've done this with a servlet using the following
code:

      OutputStream out1 = response.getOutputStream();
      out = new PrintWriter(new GZIPOutputStream(out1), false);
      response.setHeader("Content-Encoding", "gzip");
      ......

How would I get the equivalent using JSP?


TIA

Matt B.

Mime
View raw message