I have an applet and have signed it.
When i load this applet, i track the java console and it work well.
But when i push a button (html) to call a function in applet, in this function, i load a dll from localhost.
I track the result of firebug and got a message: uncaused exception: java.runtimeException... access denied....
i have search for many forum but can not resolved my problem
please give me some advides
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
Not sure about this issue, but a better way to use DLLs with applets than to load them from the local machine is to ship them in a jar file that is signed just like the jar file that contains the class files. That way, nothing needs to be installed locally.
Tran Manh wrote:I have an applet and have signed it.
When i load this applet, i track the java console and it work well.
But when i push a button (html) to call a function in applet, in this function, i load a dll from localhost.
I track the result of firebug and got a message: uncaused exception: java.runtimeException... access denied....
i have search for many forum but can not resolved my problem
please give me some advides
Javascript calls in or out are always considered untrusted code, regardless of the fact you signed the applet or not. Maybe you should create a button in the applet instead of HTML button. That way definitely works.