File Permission problem EJB in J2EE application

Dear all,

I have tried to use the method File.delete() to delete a file. However, when I call this method in my EJB, I got the the exception "access denied [FilePermission abc.txt delete], can I delete a file using EJB in J2EE or use JSP to delete files?

Please help me, thank you

[306 byte] By [simonyu] at [2007-9-26 11:32:43]
# 1
You dont have access to the file system within an EJB.
misterTAK at 2007-7-2 1:33:08 > top of Java-index,Other Topics,Patterns & OO Design...