If I get a HttpsURLConnection like you've said, and then get an InputStream as connection.getInputStream(), I can't read anything from that stream, and metthod InputStream.available() returns 0. All this is true if you use a 'https' url, not a 'http' one.
You can try it one day when you have enough time.
Thanks a lot for your help.

Sergio

Gregor Schneider escribió:
I don't see  why you shouldn't be able to use the class java.net.URL
with HTTPS, actually, it should work:

Url url = new URL("https//www.yourweb.com");
HttpsURLConnection connection = (HttpsURLConnection)
url.openConnection();

However, never have tried it myself since personally I believe that
Applets are an outdated technology, but that' s a different story.

Anyways, have a look at this article, maybe it gives you a starting
point:

http://www.jguru.com/faq/view.jsp?EID=24672

Please also have a look at the comments to the article.

HTH

Greg

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to