Hi,
Can I contact a sight using URL Connection?
I know that I can give a url path with IP and port and invoke particular
servlet.
Instaed if I give the domain name I am getting the following error.
Exception java.net.MalformedURLException: no protocol: www.verisign.com
Is it right to use as shown?
[B]
URL url = new URL("www.verisign.com");
URLConnection urlCon = url.openConnection();
[B]
Do suggest me how to do it.
Thanks,
Vasu