Hi Stella,
Unfortonetelly, the URL implementation of Sun doesn't have support for the HTTPS protocol. What you need to do is check for a third implementation. Try to check the javasoft's site, more specifically in www.javasoft.com/products/jce (there are a list of JCE implementations there and some of them have an implementation of https to be used with the URL class).
[]'s
Luciano da Silva Coelho
Sun Certified Programmer for the Java2
e-Sec Data Security Technology
[EMAIL PROTECTED]
----------
De: Yang XIAO[SMTP:[EMAIL PROTECTED]]
Responder: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology.
Enviada: Segunda-feira, 17 de Janeiro de 2000 12:45
Para: [EMAIL PROTECTED]
Assunto: openConnection https URL, help!!!
Hi, there
I wrote an servlet that can connect a http URL, but in reality I want to
openConnection with a https URL. With the same code, I got err when I tried
https one:
java.net.MalformedURLException: unknown protocol: https
at java.net.URL.<init>(URL.java)
at java.net.URL.<init>(URL.java)
at TalkPegasus.main(TalkPegasus.java:7)
Anyone's suggestion will be highly appreciated!!
Y.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
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
