com.sun.net.ssl.internal.www.protocol
843811Jun 22 2006 — edited Jun 23 2006Hi,
Iam trying to write a simple program which establishes a HTTPS connections. I was reading an article about it and it said to use:
System.setProperty("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");
But if I comment out the above, it still works fine. Also I checked all the System properties and didn't find the above being available, but the program still works. Any idea on what above does and why does it work without it?
This is what Program does:
URL url = new URL("https://www.verisign.com");
and then it opens InputStream and reads the HTML code from the page.
Thanks!