Hi Rams,

        Thank you for your reply...

        I m using sun's SSL package, also i have set required properties in the
servlet's init method as below

        System.setProperty("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");
        Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());

        I have also registered "com.sun.net.ssl.internal.ssl.Provider" class in the
web.xml ....

        Now, what I have to register ? I am using tomcat to run jsp and servltes..

        Waiting for your reply eagerly...

Regards,
Lomesh.


-----Original Message-----
From: Rams [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 7:57 AM
To: [EMAIL PROTECTED]
Subject: RE: SSL Connection problem through jsp


You have to register SSL driver....
which ssl package do u use?

Rams

-----Original Message-----
From: Lomesh Contractor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 3:25 PM
To: [EMAIL PROTECTED]
Subject: SSL Connection problem through jsp


Hi ,

        I am facing one very strange problem for SSL connectivity from JSP page.

        I have one java application( one class file ) that make SSL connection to
any secure server, if I run that application independently. But,when i use
the same class file from my JSP page, to make SSL connection to other
server, it shows,
MalFormedURLConnection exception "https" unknown protocol.

        Well, the JSP file compiles successfully. This error occurres only at run
time. I have included all the required jar files in the classpath. The same
url is working fine, if i run it at java application..

        ANY IDEA...!!!!

Regards,

Lomesh.

Reply via email to