Re: UnknownHostException
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 28 Sep 2007 04:13:04 GMT
On Fri, 28 Sep 2007 03:47:43 -0000, manoj baba <dmanojbaba@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
URL url = new URL("http://www.wickedlysmart.com/HeadFirst/
HeadFirstJava/HeadFirstJavaIndex.html");
It seems odd to specify a specific document, then throw it away and
take just the host "www.wickedlysmart.com".
Is your server prepared to start a raw socket on port 80?
I suspect instead your server is waiting for a GET or POST.
See http://mindprod.com/applet/fileio.html
for how to write the code for that.
See also http://mindprod.com/jgloss/cgi.html
http://mindprod.com/jgloss/http.html
http://mindprod.com/products1.html#HTTP
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- UnknownHostException
- From: manoj baba
- UnknownHostException
- Prev by Date: Re: UnknownHostException
- Next by Date: Re: UnknownHostException
- Previous by thread: Re: UnknownHostException
- Next by thread: Re: UnknownHostException
- Index(es):
Relevant Pages
|