You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Zsolt <zk...@intland.com> on 2005/08/30 16:45:31 UTC
Servlet lush problems via JK-1.2.14 and TC_5.0.28
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org