After a great deal of trouble, I finally got the example at
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html to work in
applet viewer.
(1) Do IE and Netscape/Firefox use %HOMEDRIVE%%HOMEPATH%/.java.policy on windows?
(2) If %HOMEDRIVE%%HOMEPATH%/.java.policy specifies the keystore, why does the above example use Write.jp? Is this not redundant? How would we specify Write.jp for IE or Netscape/firefox?
(3) Must all my users use the policytool.exe (or, worse yet, notepad) to create or edit the .java.policy file? This seems like it would be a bit much to ask of the casual user. Is there a way to simplify this? ActiveX controls like the flash player don't require nearly so much of the user.
(4) What is the syntax for the .java.policy file? Does it use forward or backward slashs on windows? Does it expand environment variables like %HOMEDRIVE%%HOMEPATH% or do I use the
java style ${user.home} or do I use the linux style ${HOME}?
Thanks,
Siegfried