Lyubomir Pashov <[EMAIL PROTECTED]> writes:

> Hello, :-)
> 
> Sometimes, when my application tries to getOutputStream
> /from URLConnection to my Servlet/ and the network is very slow,
> then “java.net.ConnectException: Connection timed out: connect”
> exception occurs. So, I want to increase the timeout's value.
> 
> Does anybody know how to increase the connection's time out?

You can't... the server is timing out because it thinks you've gone
away.

In practice this shouldn't happen... server timeouts only occur when
there is no IO on the connection for some amount of time... seems
strange that you're seeing this.


Can you tell us more about what's happening?


Nic

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to