Control Timeout in URLConnection
Posted on 2001-06-14
i just wanna to know it's there any possible method to control the timeout of my jsp which using URLConnection to grep a cgi program. cause i don't want the timeout takes too long as i want to catch the timout event by my code.
sp that can i use java code to control the timeout, or config it in web server or servlet engine..
the config as below :
i have tried to apply the HttpURLConnectionTimeout classes in my server, but it make the Jrun Server down everytime...
reminded that i am using JDK1.2.2....