This content has been marked as final. Show 3 replies
what type statement i need to use here instead of above mentioned code line.
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol"); -----Slightly off topic, but you haven't needed that line of code since about 2003.
Can you ping www.google.com from a command prompt? If not, you have a DNS problem, nothing to do with Java
am unable to ping the site, please suggest howto resolve this .
D:\Documents and Settings\ba80123524>ping https://www.google.com Ping request could not find host https://www.google.com. Please check the name and try again