View Single Post
  #4 (permalink)  
Old 02-02-2008, 07:48 PM
johnnyarm johnnyarm is offline
Member
 
Join Date: Jan 2008
Posts: 2
johnnyarm is on a distinguished road
Thanks Captian.

I have another error now. The problem is that i am not able to save on applets. I keep getting this error java.io.FilePermisson. The code works on normal java files, but it does not work on applets.

I have looked at some other sites, and i have discoverd this, when i tired writing to files on applets:

/**
* By default, this applet raises a security exception, unless you configure
* your policy to allow applets from its location to write to the file
* "writetest".
*/

How do i change the policy? Where is this policy file located, if there is one?

johnnyarm

Last edited by johnnyarm : 02-03-2008 at 04:55 AM.
Reply With Quote