Donie,

Yes, this is what I want and I don't want to close the
socket since I have more response to send.

Sam

-----Original Message-----
From: Donie Kelly [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 10:48 AM
To: 'Tomcat Users List'
Subject: RE: How can I send respond incrementally in a
Servlet


I think he means that nothing is sent back to the
browser. I have noticed
this as well and I could not get a solution. If you
close the connection
it's sent back and the servlet can continue to run but
that may not be
desirable....

Donie


-----Original Message-----
From: Rosdi bin Kasim [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2002 16:47
To: Tomcat Users List
Subject: Re: How can I send respond incrementally in a
Servlet


What is exactly the 'response' you are sending?
If it is a table, then the browser will only display
it once the whole table
is completed (until it received </table>).

Regards,
Rosdi.

----- Original Message -----
From: "Sam Cheung" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 10, 2002 11:46 PM
Subject: How can I send respond incrementally in a
Servlet


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

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