Hi,
Within my webapp, I try to create a new directory on the file
system by using File.mkdir(). This webapp has the permissions
read & write on the parent directory:
grant codeBase "file:${catalina.base}/webapps/myapp/-" {
permission java.io.FilePermission "/somewhere/-", "read,write";
}
The creation fails, but of course, I do not have any info
(because mkdir returns true or false instead of throwing an
exception).
Is there anything else I could check out? I cannot find any
clue of what I did wrong.
Regards,
--
Florent Georges
http://www.fgeorges.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]