Howdy,
You might want to read up on flushing the output as well as reducing the page buffer 
size, both elementary JSP issues.

Yoav Shapira
Millennium ChemInformatics

-----Original Message-----
From: Rogerio Baldini das Neves [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 8:49 PM
To: [EMAIL PROTECTED]
Subject: problem in jsp response

Hi,
�
I have a problem that's getting me crazy.
�
A code in jsp file like this:
�
<%
for(int i=0; i<10; i++)
{
�out.println("i:"+i+"<br>");
�Thread.sleep(1000);
}�
%>
�
is just showed in browser when tomcat finishes processing all iterates (it takes 10 
seconds).
This is, tomcat sends the html soucecode just when process ends.
I need tomcat sends soucecode to response on demand (on each iteration - 1 per second)
�
Is it possible ?
Somebody help me ...
�
Thanks,

______________________________________________________________
Rog�rio Baldini das Neves
Diretor de Tecnologia

www.infoquest.com.br
��


[EMAIL PROTECTED]



55 (31) 3261-7030 / Ramal 27





This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to