Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.net.MalformedURLException: unknown protocol: https

807598Jul 22 2006 — edited Jul 22 2006
hello guys,

I am facing one problem. I want to access url with https protocol. but when i trying to access it it gives me an error. java.net.MalformedURLException: unkown protocol:https

When i run my code on my pc it will works perfactly. But when i upload my class file on server and try to run it then it gives an error. Unknow protocol : https.

so how i can do that?
example URL url = new URL("https://www.paypal.com");

Waiting for your reply ASAP.

Regards,

Bhavesh Kharwa
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2006
Added on Jul 22 2006
3 comments
209 views