I have found the solution:

JkOptions     +FlushPackets

Zsolt

>-----Original Message-----
>From: Peter Crowther [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 01, 2005 1:51 PM
>To: Tomcat Users List
>Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28
>
>> 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]


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

Reply via email to