File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply 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: 4
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
 
 
subject: read timeout not working after given period
 
Threads others viewed
URLConnection 422 Http Error response
Multiple posts using HttpURLConnection
getting error in programatically created pdf
invoking a servlet from client Java code
help: need help for post
MyEclipse, The Clear Choice