Applet printing; Applet discards security permissi

2019-05-21 19:36发布

问题:

Using Java Liveconnect able to access printer through applet from browser, for access rights I've added permission java.lang.RuntimePermission "queuePrintJob"; in C:\Program Files (x86)\Java\jre7\lib\security\java.policy file. But still I'm getting the following warning message

Using : Java Plug-in 10.9.2.05 ; JRE version 1.7.0_09-b05 Java HotSpot(TM) Client VM

But the same signed applet properly works in xp machine with java7. Even if I check Always allow...., it keeps on showing warning again and again. I searched fully in stack overflow but unable to find right fix. Can any one suggest how to resolve this?