Title: RE: JApplets

Oops, sorry, I didn't read the question carefully. John is right.

> -----Original Message-----
> From: John Zukowski [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 10:16 AM
> To: 'Singh,Gary - PLANO'; '[EMAIL PROTECTED]'
> Subject: RE: JApplets
>
>
>
> You don't need any permissions to read a file from the web
> server from
> which it came. There needs to be something on the server that
> will serve it
> to you, so if it is outside the server delivery area, you must put
> something on the server that can deliver it, but signing your
> code will add
> nothing, as it won't expose anything on the server.
>
>
> > > 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://>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.
> > >
>
>
> John Zukowski, Strategic Java Consulting
> JZ Ventures, Inc. - http://www.jzventures.com
> Java Collections - http://www.apress.com/catalog/book/1893115925/
> The limits of my language are the limits of my world. - Wittgenstein
>
> _______________________________________________
> Swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/swing
>

Reply via email to