I'm glad it worked. I use Tomcat and I have not had any permissions related upload problems like that. Don't forget you should try to secure the 'write' and 'delete' permissions to the webapp (or specific directory) you are using. That way someone can't use that code to override something important somewhere else on the app server or even on the operating system itself, depending on which account your service runs as/under.
-David -----Original Message----- From: zahid mohammed [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 5:39 PM To: Struts Users Mailing List Subject: Re: file upload ACCESS DENIED (AccessControlException) Hi David, THANKS A LOT........It finally worked after I added "delete" in FilePermissions in server.policy file. Just wondering if this has to be done for other app servers too when using the File upload. How do the other app servers handle this?? Anywayz......THANX once again. Zahid. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]