aspose file tools*
The moose likes Servlets and the fly likes setSoTimeout inside a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "setSoTimeout inside a servlet" Watch "setSoTimeout inside a servlet" New topic

setSoTimeout inside a servlet

adam oczos

Joined: May 12, 2003
Posts: 17
Hi everybody.
Is it a way to influence server/container timeout parameter directly from my code? Why? Because there's no single parameter in OC4J to set it up properly.
I was wondering if I can use Socket setSoTimeout method, but I'm not sure if it makes any sense... It's like I was building HttpServlet from scratch again.
Did anybody try that? Thanx for any comments.
I agree. Here's the link:
subject: setSoTimeout inside a servlet
Similar Threads
timeout not working by the time of reading data from channel (urgent help please ..)
Send object via socket with timeout
unblock Socket socket = server.accept();
SSLSocket Read timed out issue
how to set timeout to throw an exception if the server is down