dcsimg
Error Writing to server
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anand_Sundaramurthy
Posted On:   Wednesday, September 26, 2007 08:16 AM

Hi, Am trying to open an URL through java code and read the contents of the html page.sometimes my code runs perfectly but sometimes when i try to open the url am getting the following error. java.io.IOException: Error writing to server at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:416) at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:428) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934) at java.net.URL.openStream(URL.java:1007) at ReadHtml1.openURL(ReadHtml1.java:54) at ReadHtml1. (ReadHtml1.java:25) at ReadHtml1.main(ReadHtml1.java:34)    More>>

Hi,
Am trying to open an URL through java code and read the contents of the html page.sometimes my code runs perfectly but sometimes when i try to open the url am getting the following error.



java.io.IOException: Error writing to server
at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:416)
at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:428)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934)
at java.net.URL.openStream(URL.java:1007)
at ReadHtml1.openURL(ReadHtml1.java:54)
at ReadHtml1. (ReadHtml1.java:25)
at ReadHtml1.main(ReadHtml1.java:34)



some information to solve this issue is appreciated.
thanks,

   <<Less

Re: Error Writing to server

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, October 8, 2007 08:08 PM

could it just be a flaky network connection?
About | Sitemap | Contact