I am guessing but a value of 0 may be completely ignored. Try a buffer size
of 1. It is entirely possible that there is minimum value for the buffer, as
I said am just guessing....

Michael Petres
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
InnovObjX Corp.
Web: www.innovobjx.com
Tel: 905-729-2235 x3
Fax: 905-729-2235
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----Original Message-----
From: Sam Cheung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 5:52 PM
To: [EMAIL PROTECTED]
Subject: How can i send respond incrementally in a Servlet

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]>


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

Reply via email to