W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

java.net.UnknowHostException while creating an URL

From: Sisir Halder <Sisir.Halder@seepz.tcs.co.in>
Date: Tue, 12 Feb 2002 06:19:21 -0500 (EST)
To: html-tidy@w3.org
Message-ID: <OF19DD0E20.6804FC31-ON65256B5E.003D7A8D@SEEPZ.TCS.CO.IN>


I am using your JTidy code for converting html to xml.
 My java program has a line:                                                
 URL sourceURL=new URL                                                      
 When I ran this program, I got an error message:                           
 java.net.UnknownHostException: developer.java.sun.com.                     
 I am connecting to Internet through proxy server and in browser I am       
 getting the page but while pinging it is not giving anything.              
 I am getting same error in:                                                
 InetAddress theInetAddr = InetAddress.getByName ("java.sun.com");          
 Is it a problem of my network configuration or something else?             
 Pls Help...                                                                
 Thanks and Regards,                                                        

Received on Wednesday, 20 February 2002 21:48:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:51 UTC