R
René Iversen
Hi,
I'm trying to create at applet, that has to access the filesystem.
I've found out, for it to work I needed to add these 3 lines to the
java.policy file:
permission java.util.PropertyPermission "user.dir", "read";
permission java.lang.RuntimePermission "modifyThread";
permission java.io.FilePermission "C:\\read\\-", "read";
However it seemes like the syntax of line 3 isn't correct. What I want is to
grant read access to everything in the read folder recusively. As it is now,
I can't even browse to the read folder using a JFileChooser.
Can anyone help.
I'm trying to create at applet, that has to access the filesystem.
I've found out, for it to work I needed to add these 3 lines to the
java.policy file:
permission java.util.PropertyPermission "user.dir", "read";
permission java.lang.RuntimePermission "modifyThread";
permission java.io.FilePermission "C:\\read\\-", "read";
However it seemes like the syntax of line 3 isn't correct. What I want is to
grant read access to everything in the read folder recusively. As it is now,
I can't even browse to the read folder using a JFileChooser.
Can anyone help.