This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes read timeout not working after given period Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "read timeout not working after given period " Watch "read timeout not working after given period " New topic
Author

read timeout not working after given period

Ponnusamy Gov
Greenhorn

Joined: Feb 01, 2011
Posts: 17
Dear All,

I am connecting other server using URLConnection and I am having 5 seconds of connection/read timeout. But my server not throwing exception after 5 secs. Here i smy piece of code:


what is the problem in this code?

Thanks in advance,

Pons
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: read timeout not working after given period
 
Similar Threads
help: need help for post
invoking a servlet from client Java code
Multiple posts using HttpURLConnection
getting error in programatically created pdf
URLConnection 422 Http Error response