> From: Zsolt [mailto:[EMAIL PROTECTED] 
> When I start a long running servlet I want to give the user 
> some feedback
> about the progress, thus I just print some characters to the 
> browser from
> the servlet. It works fine when I go directly tomcat but when 
> I go through
> apache and tomcat connector I see the characters in the 
> browser only when
> the servlet is ready (that might take 20-30 minutes).
[...]
> How can I force a flush via connector?

I don't think you can.

If the process is going to be running for that length of time, would it
make sense to delegate the processing to some other object?  Then the
page can return immediately, with some appropriate code that requests
the browser to refresh the page at an appropriate interval.  During a
refresh, you could poll the request's status and return an appropriate
message.

                - Peter

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

Reply via email to