cant create directory
inside a servlet i want to create a directory on a tomcat 4.1.30-server.
String path=docRoot+"events/"+event.getId()+"/";
File newDir=new File(path);
if (!newDir.exists()){
boolean result=newDir.mkdirs();
log("RESULT:"+result);
}
the logged result is always false and the folder is not created.
in the tomcat.policy-file i have the following entry:
grant{
permission java.io.FilePermission"/home/virtual/site189/fst/var/www/html/-","read,write,delete";
};
the mod of the folder, where i want to create that directory in, is 777 (all permissions set).
am i having a wrong tomcat.policy? do i have to use a codebase?
regards,
konrad

