commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Hufgard <christian.hufg...@gmx.de>
Subject Re[2]: [httpclient]
Date Wed, 09 Aug 2006 16:01:23 GMT
<snip>
>         for (int i = 0; i < 100; i++) {
>             out.println ("<event title=\"Event 5\"
> time=\"200609131430\" id=\"5\">new Event</event>");
>             try {
>                 Thread.sleep (500);
>             } catch (InterruptedException ex) {
>                 ex.printStackTrace();
>             }
> Which should take close on 50 seconds to execute.
</snip>

Oh, I had this problem once, too. You should flush the jsps
outputstream, otherwise the reponse is cached until the buffer is
filled. 

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message