开发者

Signed Java Applet prompting for printer access

开发者 https://www.devze.com 2023-02-11 12:54 出处:网络
I have a small java applet that does custom printing from the browser. I have signed the applet with a go daddy certificate, but I am still receiving the following security warning:

I have a small java applet that does custom printing from the browser.

I have signed the applet with a go daddy certificate, but I am still receiving the following security warning:

==

Security warning

The applet has requested access to the printer

Do you want to allow this action?

==

There is a ch开发者_运维问答eckbox that says, "Always allow this applet to run", but selecting that still always causes the warning dialog to show before the print dialog is displayed.

Is there anyway to grant access to the printer without modifying the .policy file on the client machines or to include a .policy file in the .jar file?

Thanks!


I don't think there is other way. I had the same problem - signed applet printing, but with that annoying dialog.

My problem was that the applet was executed by javascript. According a note here, applet executed by javascipt behaves always like unsigned one.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号