Hi ,
I do not know if this is the right forum but ...
I have tomcat running as a stand alone web server and am trying to run a JApplet using it.
I have the HTML file under the normal directory with other HTML files. Default it looks for the Applet under the same directory as the HTML file. Is there a way by which I can have it look for under a completely different directory but one which in my class path. I tried codebase=file:// etc but it threw a security exception.
Also Is there any way by which I can set up the permissions for an Applet/JApplet to use other java files on the same local host but under another completely different directory from where it was launched which is also in the system classpath.
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.
Is such a thing possible for a normal servlet/jsp to use java files under a completely different directory specified under the classpath or will I have to move the files over to the web-inf/classes directory.
Any Ideas / suggestions are welcome.
Thanks and Regards,
Gary Grewal
