Create and access folder outside Apache Tomcat webapps folder

Posted by Padur on Stack Overflow See other posts from Stack Overflow or by Padur
Published on 2010-05-17T22:58:20Z Indexed on 2010/05/17 23:00 UTC
Read the original article Hit count: 396

Filed under:
|
|
|

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

© Stack Overflow or respective owner

Related posts about tomcat

Related posts about webapps