> 1.Is there any way i can specify in the HTML like > use -D option and the policy file while invoking > the applet.
To specify policy file open Java Plug-in Control Panel, switch to Basic tab and in the Java Runtime Parameters field type -Djava.security.policy=<policy file> For example policy file := http://ilyak-2k/~ilyak/wcc.policy or c:/temp/policy.file _Ilya --- SAMINATHAN <[EMAIL PROTECTED]> wrote: > Hi all > > We are invoking an applet from our HTML > for doing some operation in the client machine.And > we are getting the access denied exception.We > created our own policy file and try to include in > our Jar. > > But the problem is that it is not finding the policy > file in the Jar. > > 1.Is there any way i can specify in the HTML like > use -D option and the policy file while invoking > the applet. > > And how do i notify the applet that it is supposed > to use the local Policy file , instead of original > JVM policy file. > > I had done the same thing , while running a RMI > server, i used to run my RMI server like this Java > - D mypolicy.policy JavaFile.But i don't have any > idea how to do the same thing in the case of applet. > > Some one pl throw light on this. > > Thanks and Regards > Saminathan. > > > > > To change your membership options, refer to: > http://www.sys-con.com/java/list.cfm > __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
