moongeegee wrote:
> I can execute Runtime.getRuntime().exec() correctly without any
> probelm.
> After I convert to Applet, I got the following error:
> java.security.AccessControlException: access denied
> (java.io.FilePermission <<ALL FILES>>
>
> I could not access server configure file to grant permission. Please
> help me. What should I do? Thanks a million.
In production the applet will be running on the client computer not on
your server. If you are trying to access a file on the server, you need
to access the file with a server side process and then pass the data to
the applet. If you are trying to access a file on the client, you need
to sign your applet.
--
Dave Miller
Java Web Hosting
http://www.cheap-jsp-hosting.com/