RE: Comet: How to send *Chunked* response

2011-07-25 Thread Sudeep Pradhan
t(eventString); writer.flush(); } Thanks, Sudeep -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, July 25, 2011 12:37 PM To: Tomcat Users List Subject: Re: Comet: How to send *Chunked* response On 25/07/2011 19:23, Sudeep Pradhan wrote:

Re: Comet: How to send *Chunked* response

2011-07-25 Thread Mark Thomas
On 25/07/2011 19:23, Sudeep Pradhan wrote: > Hi, > > I am using CometProcessor to stream event notifications from server to > client. The events are generated at random. I want to send the notification > with Transfer Encoding as chunked so that I can use Apache's > ChunkedInputStream to parse

Comet: How to send *Chunked* response

2011-07-25 Thread Sudeep Pradhan
Hi, I am using CometProcessor to stream event notifications from server to client. The events are generated at random. I want to send the notification with Transfer Encoding as chunked so that I can use Apache's ChunkedInputStream to parse the output. I get the PrintWriter from the ServletRes