Hi,

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

Here is a part of the servlet:

...
PrintWriter out = response.getWriter();
...
out.flush();
response.flushBuffer();
...

How can I force a flush via connector?

I use jdk-1.5.0.4 under Linux with tomcat-5.0.28 and JK-1.2.14.

Zsolt


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

Reply via email to