Hello,
I run applications that requires to save have files such as PDF. It was first
located within the webapp's directory, but that caused a problem since the
files were deleted each time the application was re-deployed.
Where should I put those files ?
Is there any configurations for
]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, March 23, 2007 11:20 AM
Subject: Application resources, where ??
Hello,
I run applications that requires to save have files such as PDF. It was first
located within the webapp's directory, but that caused a problem since the
files were
Users List
Subject: Re: Application resources, where ??
you will have to set either in server.policy (to make
applicable for all containers)
or catalina.policy (specific for catalina container)
grant {
permission java.io.FilePermission ALL FILES,
read,write.delete;
}
HTH,
M
On 3/23/07, Jean-Sebastien Pilon [EMAIL PROTECTED] wrote:
Is there any configurations for avoiding to delete the files within the webapp's
directory when the webapp is redeployed ?
When the app is re-deployed old Java/ JSP files are replaced with new,
that's why the folder under webapps is