users@glassfish.java.net

flushBuffer doesn't work in v.2

From: <glassfish_at_javadesktop.org>
Date: Tue, 04 Dec 2007 19:40:17 PST

Can any one confirm this?

The following code does not produce the desired result:

<html>
<head>
<title>Insert title here</title>
</head>
<body>
This is a test
<%
response.flushBuffer();
Thread.sleep(5000);
%>
</body>
</html>

that is, it only displays the text after 5 seconds. Is this a bug?
[Message sent by forum member 'vladchuk' (vladchuk)]

http://forums.java.net/jive/thread.jspa?messageID=248556