E
ennio
Hi all.
I'd like to talk about jsp's. I'm working with tomcat 4.1.
I would like to know if i can somehow "flush" the output stream of my
jsp as the output is produced.
In the following tiny (odd) example:
---------CUT---------------
<html>
<h1> start </h1>
<%
Thread.sleep(10000);
%>
<h1> end </h1>
</html>
---------CUT---------------
I would like to see the "start" string before the thread starts
sleeping.
Actually i don't : i get it simultaneously with the "end" string.
Is there a way to easily achieve this in jsp's? Without
javascript/dhtml/ajax stuff i mean.
I'd like to talk about jsp's. I'm working with tomcat 4.1.
I would like to know if i can somehow "flush" the output stream of my
jsp as the output is produced.
In the following tiny (odd) example:
---------CUT---------------
<html>
<h1> start </h1>
<%
Thread.sleep(10000);
%>
<h1> end </h1>
</html>
---------CUT---------------
I would like to see the "start" string before the thread starts
sleeping.
Actually i don't : i get it simultaneously with the "end" string.
Is there a way to easily achieve this in jsp's? Without
javascript/dhtml/ajax stuff i mean.