Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using HTTPS in Cocoa/Java ?



It sounds like the https add-on for java.net is not in your path when you are running the application. I am going from memory on a WebObjects project I did some years ago, but... at that point I had to add in the module myself and make sure I had it on my deployment machine.
It may also be that it has been added in as a regular piece in the newest java runtime, and you have both installed on your machine. I would check on those things first. Then see if you can include the package inside your app... that should be possible...

Karl Kuehn
email@hidden

On Wednesday, July 30, 2003, at 05:01 PM, Thomas Deniau wrote:

I want to use HTTPS to connect to the servlet ; but when I create the
HTTPS URL (new URL("https://....";)), the exception
"java.net.MalformedURLException: unknown protocol: https" is raised.
Plain HTTP works fine.

However, it only happens if this code is ran within my Cocoa
application. (using the Cooca/ObjC bridge). If I run it 'standalone',
using javac and java in the Terminal, it works perfectly. Any clue ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Using HTTPS in Cocoa/Java ? (From: Thomas Deniau <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.