S
steen
Hey all,
like the topic says, I have a problem reading a properties file from an
applet.
I've packed the applet into a jar which the html page then loads, but
when I try to read my version.properties file (which is in the root of
the jar-file) I get an
java.security.AccessControlException: access denied
(java.io.FilePermission version.properties read)
I'm trying to read the file using
p.load(getClass().getResourceAsStream("/version.properties"));
I am probably missing something pretty elementary, but I've gone blind
looking for the problem...any ideas ?
Thanks in advance.
/Steen
like the topic says, I have a problem reading a properties file from an
applet.
I've packed the applet into a jar which the html page then loads, but
when I try to read my version.properties file (which is in the root of
the jar-file) I get an
java.security.AccessControlException: access denied
(java.io.FilePermission version.properties read)
I'm trying to read the file using
p.load(getClass().getResourceAsStream("/version.properties"));
I am probably missing something pretty elementary, but I've gone blind
looking for the problem...any ideas ?
Thanks in advance.
/Steen