Place the following line before the "URL" line as:

java.lang.System.setProperty("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");

Alternatively. we can declare it on the command line as well.

Hope this help.


Pae

-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, May 10, 2001 6:40 AM
Subject: Trying to use https: in Tomcat


>I'm trying to connect to an url using
>
>url = (URL) new URL("https://xxxxxx";);
>
>In Tomcat
>
>I get the error message
>
>"unknown protocal: https"
>
>Does anyone know how I get around this ?

Reply via email to