Hi,
I am trying to use an untrusted applet to open a inputstream
(url.openStream()) to contact a servlet on a site which is secured using
SSL. Can I through some means sign the applet and use it to contact the
servlet ? Quick Help on this will be highly appreciated.
Thanks and regards,
Ramani.
PS : The code for the servlet .
import java.applet.*;
import java.io.*;
import java.net.*;
public class PingApplet extends Applet{
public void init() {
System.out.println("new init invoked");
try {
URL url = new URL("https://MyServer/servlet/PingServlet");
InputStream urlConn = url.openStream();
}catch(Exception e){
System.out.println("Unable to open stream");
}
}
}
___________________________________________________________________________
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