Close
jGuru Forums
Posted By: Farkalit_Usman Posted On: Wednesday, June 27, 2001 08:40 PM
How can I delete a file (eg; ass01.html) from a particular directory of D drive(eg;D:Testmoduleassignmentm1p001ass01.html) using a servlet which is deployed on J2EE1.2.1. Which gives the following error on runtime using file.delete() where file is java.io.File:
java.security.AccessControlException: access denied (java.io.FilePermission D:T estmoduleassignmentm1p001 ab.html delete)
Re: AccessControlContext.checkPermission(SecurityManager:545) exception
Posted By: John_Mitchell Posted On: Thursday, July 19, 2001 02:51 PM