Hi ,
How do I set up the permissions for an Applet/JApplet to read a file on the
same local host from where it was launched. I am using Tomcat as the web
server and would like the applet to use some java files from another
directory which is in the system class path and not under the directory
where the applet is. Is it possible or will I have to move the files over to
the same directory under which the applet is i.e. HTML directory of Tomcat.
Also the HTML file defaults looks for the applet under the same directory
but incase the applet is in some other directory , I tried using
codebase=file:// etc.. but it threw a file security exception . Is there any
way around it.
Do I set the permission in HTML file or in the applet init() method ?? I do
have a java.policy file which grants all permissions.
Any Ideas / suggestions are welcome.
Thanks and Regards,
Gary Grewal
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing