Wednesday, October 12, 2011

Adding policy to a applet java

To Provide permissions to a applet first you need to write a Policy file.

Policy file can be created using a policytool .By this way a policy file can be created.

And to run the applet with the permissions added in the policyfile you need to run the applet in the following way:

appletviewer  applet-file

No comments:

Post a Comment