hi,
I need to forward a request to another webserver, but i need to check whether that server is running before make a request.
I can't connect to the server using HttpUrlConnection. Is there anyway that i can check the server is running before making a request??
your help is really appreciated.
Thanks
Buchanna
-
forwarding a request to webserver (1 messages)
- Posted by: Buchanna Gajula
- Posted on: April 20 2001 14:20 EDT
Threaded Messages (1)
- forwarding a request to webserver by Buchanna Gajula on April 20 2001 14:52 EDT
-
forwarding a request to webserver[ Go to top ]
- Posted by: Buchanna Gajula
- Posted on: April 20 2001 14:52 EDT
- in response to Buchanna Gajula
i think using public abstract class URLConnection we may know the server is running or not, let me try.
protected boolean connected
If false, this connection object has not created a communications link to the specified URL. If true,
the communications link has been established.
tx
Buchanna