I need my servlet to make an https:// (secure) connection
to another website which also demands a pop-up style
authentication. I downloaded and installed JSSE.
I am running under JDK 1.2
The servlet simply reports that https is an unknown protocol.
Here's the relevant (test) code:
URL verisign = new URL("https://www.verisign.com/");
BufferedReader in = new BufferedReader(
new InputStreamReader(
verisign.openStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
out.println(inputLine);
in.close();
}
Any ideas ? All I get is https-unknown-protocol.
have I installed jsee incorrectly? A javac -verbose prog.java
shows that the compiler never even looks at the jsee classes
in javax.*.*, it just looks at .../jre.jar
-Scott
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html