C
charly
Greetings,
I got the following pb :
I got an applet who is given a param tag in the html file.
The param is the name of an xml file the applet is supposed to read.
the file is of course, on the server.
in my applet, I do new File(getparameter(blah)); and the usual stuff.
he does not find the file -> I tried to append
"http://localhost/appletdir/" + getparameter
I get AccessControlException: access denied java.util.PropertyPermission
user.dir read)
Now, the strangest thing :
I develop under eclipse. If I run the applet as an applet and specifies
the namefile in the parameters, it works "as is"
Any ideas ??
I got the following pb :
I got an applet who is given a param tag in the html file.
The param is the name of an xml file the applet is supposed to read.
the file is of course, on the server.
in my applet, I do new File(getparameter(blah)); and the usual stuff.
he does not find the file -> I tried to append
"http://localhost/appletdir/" + getparameter
I get AccessControlException: access denied java.util.PropertyPermission
user.dir read)
Now, the strangest thing :
I develop under eclipse. If I run the applet as an applet and specifies
the namefile in the parameters, it works "as is"
Any ideas ??