tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt" <zkoppanyl...@intland.com>
Subject Servlet lush problems via JK-1.2.14 and TC_5.0.28
Date Tue, 30 Aug 2005 14:45:31 GMT
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


Mime
View raw message