Application resources, where ??

2007-03-23 Thread Jean-Sebastien Pilon
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

Re: Application resources, where ??

2007-03-23 Thread Martin Gainty
] 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

RE: Application resources, where ??

2007-03-23 Thread Jean-Sebastien Pilon
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

Re: Application resources, where ??

2007-03-23 Thread Rashmi Rubdi
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