I would like to call the following statement in my jsp file.
URL url = new URL("https://localhost/servlet/ABCServlet");
However, I find the "unknown protocol:https" error in the activity log
file.
Processor"*java.net.MalformedURLException: unknown protocol: https
at java.io.IOException.<init>(IOException.java:49)
at java.net.MalformedURLException.<init>(MalformedURLException.java:44)
at java.net.URL.<init>(URL.java(Compiled Code))
at java.net.URL.<init>(URL.java(Compiled Code))
at java.net.URL.<init>(URL.java:310)
Can anyone tell me whether I can use "https" protocol to create the
URL object? Or it is related to WAS setup? If I put the same coding in
a java file(servlet), it is able to get through. What is the reason
behind?
Thanks in advance.
Fanny