I've successfully used:
http://personal.vsnl.com/sureshms/javasign1.html
The jar section of the Java Tutorial has more information on the topic.
Walter.
> -----Original Message-----
> From: Singh,Gary - PLANO [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 9:29 AM
> To: '[EMAIL PROTECTED]'
> Subject: JApplets
>
>
> 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
>
Title: Applet SigningHi,
Visit my site at
http://personal.vsnl.com/sureshms/javasign1.html
Suresh
Great Gift Idea! FREE cell phone, internet ready at Lycos Marketplace
http://www.inphonic.lycos.com/redirect.asp?referringpage=www.lycosd1---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
