Hi,
I want to know how to ping a URL and get the status in Java
Regards
Linda
User Profile
Collapse
-
How to ping a url and get the status in java
-
Hi,
how can i check url existence in a non GUI mode. -
Check url existence without opening browser, in java
Hi,
I want to check the existence of a url and i tried with the following code in java,
...Code:public boolean exists(String URLName) { try { if (!URLName.toUpperCase().contains("HTTP")) URLName="http://"+URLName; URL url = new URL(URLName); System.setProperty("java.net.useSystemProxies", "true"); HttpURLConnectionLast edited by Meetee; Jun 15 '11, 07:10 AM. -
LindaDhasan replied to I want to display the result of a javascript function within html underline tag.in JavascriptThanks romulo.
actually i already fixed the issue with third solution .Thanks for the additional information.Leave a comment:
-
LindaDhasan started a topic I want to display the result of a javascript function within html underline tag.in JavascriptI want to display the result of a javascript function within html underline tag.
Hi,
I am a beginner with javascript.Plea se help me clarify how to display the result of a javascript function within html underline tag.PFA the code.
...Code:<html> <head> <script type="text/javascript"> function whichBrs() { var agt=navigator.userAgent.toLowerCase(); if (agt.indexOf("opera") != -1) return 'Opera'; if (agt.indexOf("staroffice")
No activity results to display
Show More
Leave a comment: