Thanks Peter, Marcelo,

Still learning every day...

Regards,
   Erik.

Marcelo Morales wrote:
Don't forget setReadTimeout(int)
Also very important.

On Thu, Feb 5, 2009 at 11:42 AM, Peter Ertl <[email protected]> wrote:
 Please use commons HttpClient, with the standard Java client you have no
control over timeouts potentially hanging your application.
Is this still true?

I found that at least in Java 6 there is

  URLConnection.setConnectTimeout(int)


--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to