It's something like: GZIPOutputStream zos = new GZIPOutputStream(socket.getOutputStream()); PrintWriter pw = new PrintWriter(zos);
and the reverse for the input stream. --- Venkatesh Prasad Mysore Seshadri <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a small question. > We are passing some data to the client from a servlet > using printwriter object. > When the size of the data is more we are having some > performance issues. > So we are trying to explore the possiblities of > compressing the data at the servlet side and > decompress the same in the client layer. > Any clues on how to do this? > > Thanks in Advance, > Venki > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > To change your membership options, refer to: > http://www.sys-con.com/java/list.cfm ===== YBIC - John 6:54 John Bodenschatz [EMAIL PROTECTED] AIM screen name jcbode1 __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
