Jesse Long wrote:
Question: id /WEB-INF/ in the extracted directory the correct place for
persistent data storage? If not, where is?
No, WEB-INF is not a correct place app generated files.
You can use any directory outside of context root.
My goal is to find a consistent way of creating persistent data relative
to the context. I dont want to have to configure context parameters with
data directory paths for each installation.
It depends :-)
You can have a code that generates path to storage directory based on host name, based on app name, based on server's IP, reads it from JNDI context, etc. With such solution you don't need any context parameters, you need one war file (I mean war file is not environment dependant).

--
Mikolaj Rydzewski <m...@ceti.pl>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to