• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using HTTPS in Cocoa/Java ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using HTTPS in Cocoa/Java ?


  • Subject: Re: Using HTTPS in Cocoa/Java ?
  • From: Karl Kuehn <email@hidden>
  • Date: Thu, 31 Jul 2003 10:03:47 -0400

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.

  • Follow-Ups:
    • Re: Using HTTPS in Cocoa/Java ?
      • From: Thomas Deniau <email@hidden>
References: 
 >Using HTTPS in Cocoa/Java ? (From: Thomas Deniau <email@hidden>)

  • Prev by Date: Re: Memory Management
  • Next by Date: Re: Memory Management
  • Previous by thread: Using HTTPS in Cocoa/Java ?
  • Next by thread: Re: Using HTTPS in Cocoa/Java ?
  • Index(es):
    • Date
    • Thread