Create and access folder outside Apache Tomcat webapps folder
- by Padur
My web application requires functionality where end users can upload content, that can be later downloaded or viewed by others, the problem with current scheme is If I create such folder as part of your web project under webapps, every time I do deploy your web application (*.war), the content of that directory will be lost (or overridden).
I think the best way to accomplish that is to create folder outside of standard tomcat webapps and access it from there, not sure how to do. Please point in correct direction.
I am using Tomcat 4.x soon will be moving to 6.x.
-Padur