You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Christian Hufgard <ch...@gmx.de> on 2006/08/09 18:01:23 UTC

Re[2]: [httpclient]

<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