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
//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
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
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
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
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
6 matches
Mail list logo