Re: Finding java constructors in an applet
"Kjetil S. Matheussen" <[email protected]> Thu, 9 Aug 2007 07:28:44 +0200 (CEST)
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <Pine.LNX.4.64.0708090719300.9031@ttleush> |
On Wed, 8 Aug 2007, Virgil King wrote: > Hi, > > I'd like to instantiate some java instances in an applet using s2j. > Code that works for me in a local interpreter isn't working in the > applet, and java-class-declared-constructors returns #f, so it looks > to me like a permissions problem. Is there any way around it? > Yes, its a java security thing. The simplest way around it might be to sign your applet. (when loading the applet, a dialog pops up with a yes/no question and some babbling about security and stuff (just press yes)) I can post you a short recipe on how to do that, if you need it. Finding out how to do the signing procedure by searching the net was far from trivial, at least for me, but the signing itself is actually quite easy. (I'm sure there is at least one good doc about applet signing out there, but it seems to have drowned in all the over-explained articles written by all the word-sprouting java tech-writers.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/