This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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 ..)
how to set timeout to throw an exception if the server is down
Send object via socket with timeout
SSLSocket Read timed out issue
unblock Socket socket = server.accept();