RE: file upload ACCESS DENIED (AccessControlException)

2006-06-22 Thread David Friedman
ruts Users Mailing List Subject: Re: file upload ACCESS DENIED (AccessControlException) Hi David, THANKS A LOTIt 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 upl

Re: file upload ACCESS DENIED (AccessControlException)

2006-06-22 Thread zahid mohammed
//consider limiting the permission granted to specific files or // directories. permission java.io.FilePermission "<>", "read,write,delete"; }; == end note == Regards, David -----Original Message----- From: zahid mohammed [mailto:[E

RE: file upload ACCESS DENIED (AccessControlException)

2006-06-22 Thread David Friedman
iles or // directories. permission java.io.FilePermission "<>", "read,write,delete"; }; == end note == Regards, David -Original Message----- From: zahid mohammed [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 3:38 PM To: S

Re: file upload ACCESS DENIED (AccessControlException)

2006-06-22 Thread zahid mohammed
ECTED] To: Struts Users Mailing List Subject: Re: file upload ACCESS DENIED (AccessControlException) > Hi, > I am trying to upload a file using File upload. I get the > AccessControlException (access denied). We are using Sun One App Server > 7.0 and Struts 1.2.9. > &g

RE: file upload ACCESS DENIED (AccessControlException)

2006-06-22 Thread David Friedman
m the javax.servlet.context.tempdir servlet context attribute. The temp dir specified by the java.io.tmpdir system property. I hope this helps. -David -Original Message- From: zahid mohammed [mailto:[EMAIL PROTECTED] To: Struts Users Mailing List Subject: Re: file upload ACCESS DENIED (AccessControlExce

Re: file upload ACCESS DENIED (AccessControlException)

2006-06-22 Thread zahid mohammed
Hi, Does this error have to do anything with the SERVER.POLICY file? I have the following lines in the server.policy file // Basic set of required permissions granted to all remaining code grant { permission java.lang.RuntimePermission "loadLibrary.*"; permission java.lang.RuntimePermission "q