If you are planning to compress the data and send it over wire, I suggest using an OutputStream object rather than a PrintWriter object. Note that compressed data is binary data and PrintWriter is a text-output stream object! Study the API docs. for more explanation.
-----Original Message-----
From: Venkatesh Prasad Mysore Seshadri [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 12:02 AM
To: JDJList
Subject: [jdjlist] Re: -compress/decompress data
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
http://www.sys-con.com/java/list.cfm
