java.net.ConnectException: Operation timed out: connect
843830Oct 14 2005 — edited Oct 26 2005code:
URL url = new URL((URL)null,<a servlet url here>,new HttpTimeoutHandler(this.timeout));
URLConnection con = url.openConnection();
con.setUseCaches(false);
sendHeaders(con);
======================================
when session is alive, the code is ok. but when session timeout, these code will cause exception:
java.net.ConnectException: Operation timed out: connect
Please help me! Thank you!