Please take a look at this simple piece of code:
<BODY>
<%
for(int i=0;i<10;i++)
{
%>
<%=i%><br>
<%
out.flush();
Thread.sleep(500);
}
%>
</BODY>
Executing it on a
TOMCAT 5.0 AppServer makes it work exactly the way I want it to work - you can watch the page beeing build up step by step, one line by another.
Unfortunately the same code doesn't behave the same way on our Websphere 5.01 AppServer. Instead of building up the page line by line, you have to wait first and then the output is done all at a time.
Does anybody have a clue to this strange WAS behavior?
Tried some combinations using response.flushBuffer() as well as the "buffer" and "autoFlush" page-directives, but without success...