Hello everyone,

First of all, thanks in advance for bringing me a bit of your time.

I had an app built using j2se 1.5.0 which, in some part of it some
data must be exchanged by the user with an external resource throw a
browser form (and it takes some time to post the data), so  it
generates a dynamic html that says "On progress". As I already said on
the subject, I'm using /flush/ method from PrintWriter class to
generate this message

Everything worked perfect till I move it to the actual version of
tomcat5 on Debian Testing system, which is 5.0.30-12, on tomcat
5.0.30-10 it stills working.

I paste the most relevant calls just in case you might had have this
problem too:


public void doPost(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {

response.setContentType("text/html");
PrintWriter out = new PrintWriter(response.getOutputStream());
[...]
out.println(htmlOnProgress);
out.flush();
[the exchange action that takes long goes right here]
[...]


Thanks all in advance,


HaggisMcMutton

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to