Thanks. I try setting the buffer to 0, but it still
does not work.

Sam

-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 11:06 AM
To: Tomcat Users List
Subject: Re: How can I send respond incrementally in a
Servlet


How about setting your buffer size smaller. It will
force flushing more 
often.

response.setBufferSize(int size)
or
<%@ page buffer="8kb" %>



Sam Cheung wrote:
> Hi,
> 
> I would like to send response back to user during
the
> execution of the doGet() method, not upon completion
> of the excution of the doGet() method.
> 
> I try calling the flushBuffer() of the response and 
> the flush() of the print writer of the response but
it
> does not work, could someone please tell me how I
can
> do it?
> 
> Thanks for your help.
> Sam


--
To unsubscribe, e-mail:  
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to