The Java 1.x (at least) java.net.URL doesn't support HTTPS. When I use it, I use a copy of the real URL, but without the "s" (ie: http://.....) in order to use the class's more handy methods, such as getHost() and getFile(). -----Original Message----- From: Graeme Wallace [mailto:[EMAIL PROTECTED]] Sent: 23 October 2000 23:48 To: [EMAIL PROTECTED] Subject: Using https INSIDE tomcat Hi All, I'm trying to do some secure proxying inside a servlet using jsse 1.0.2. My test program works ok as an application but when I attempt to use the same code inside a servlet i get an unknown protocol exception from the URL class. Any ideas ? Graeme. -------------------------------------------------------------------------------- This email and any files transmitted with it are intended solely for the addressee(s) and may be legally privileged and/or confidential. If you have received this email in error please destroy it and contact the sender, via our switchboard on +44 (0)20 7623 8000 or via return e-mail. You should not copy, forward or use the contents, attachments or information in any way. Any unauthorised use or disclosure may be unlawful. Dresdner Kleinwort Benson gives no warranty as to the accuracy or completeness of this email after it is sent over the Internet and accepts no responsibility for changes made after it was sent. Any opinion expressed in this email may be personal to the author and may not necessarily reflect the opinions of the Bank or its affiliates. They may also be subject to change without notice. --------------------------------------------------------------------------------
