Monday, August 19, 2002 04:57 PM
I'm trying to enhance my web-application with a servlet, that
should save some files (which I uploaded before) into arbitrary directories. When I'm trying to write the files to the local disk on the web-server the servlet throws an:
java.security.AccessControlException: access denied (java.io.FilePermission . write)
1.How should I proceed?
2. Should I change Tomcat's catalina.policy file in order to grant access?
3.How would such a write permission look like?
I hope somebody had a similar problem and figured it out.