|
 |
j2ee thread: Unknownhostexception even after the connection is established
Message #1 by tcj2001@h... on Mon, 13 Aug 2001 06:24:39
|
|
I think this relates to the fact that java cant tell or initiate a
connection to the internet by itself. I seem to remember hearing that
somewhere which probably means you have to use native code to connect. There
doesnt seem to be much you can do except to give a message to the user
before you try to connect saying that unless a connection is established the
program may not work
chanoch
-----Original Message-----
From: tcj2001@h... [mailto:tcj2001@h...]
Sent: 13 August 2001 07:25
To: Java 2 Enterprise Edition
Subject: [j2ee] Unknownhostexception even after the connection is
established
I have a program which tries to read a url, it works fine if i am already
connected to interenet.
but if i start the program first and then start internet it gives
unkownhostexception.
Any idea why it happens?
any help on this will be truly apreciated. could not find a remedy for
this problem any where in the internet.
Thanks
|
|
 |