Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: RE: trouble with java.net.URL


Message #1 by Chanoch Wiggers <ChanochW@w...> on Tue, 18 Sep 2001 13:51:26 +0100
no, the only alternative is to catch the exception and inform the user they
must first connect to the internet for this to work. Java doesnt allow you
to use the connection to the internet on windows

chanoch

-----Original Message-----
From: sami [mailto:sami.s.n@l...]
Sent: 18 June 2001 12:28
To: Java 2 Enterprise Edition
Subject: [j2ee] trouble with java.net.URL


hi everybody ,
iam havinga  aprogram which is running infinitely which opens a connection 
to an url.
everything works fine if for the first time internet is connected,
but if the internet is not connected when the program starts then even if 
the internet connection is restored back i get a unknownhostexception
is there anyway even if the internet connection is down when the program 
runs as soon as the connection is restored the program should be able to 
open the conection

  Return to Index