R Srini wrote:Hi. Were you able to find a solution? This type of error can occur when our code is not properly accounting for http protocol details, and some other reasons. You could try these links:
- http://stackoverflow.com/questions/2794006/java-io-filenotfoundexception-for-valid-url
- http://www.codeguru.com/forum/archive/index.php/t-41552.html
- http://forums.sun.com/thread.jspa?threadID=337084
Please let us know if the above worked. In any case, as suggested in the stackoverflow post, I have always found it a good idea to use libraries like HttpClient instead of directly invoking URL.openConnection since HttpClient takes care of a lot of minor details, accounting for different http response codes, etc. Best of luck!