The following code works fine in Tomcat 3.2.4
but fails in Tomcat 4.0.6 and throws a MalformedURLException.


<%@page import="java.net.URL"%>
<%
  java.security.Security.
      addProvider(new com.sun.net.ssl.internal.ssl.Provider());
  System.getProperties().put("java.protocol.handler.pkgs",
                             "com.sun.net.ssl.internal.www.protocol");
  URL url =  new URL("https://secure.netbilling.com";);
%>
URL=<%=url%>


I have JSSE 1.0.3 installed in both Tomcats.
Maybe I did it wrong in 4.0, but I don't think so
because it found the Provider class.
Both installs use jdk-1.3.1 and Solaris.

Thanks for your help,
Dan



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to