write to Tomcat JNDI

2007-01-25 Thread Christian Spatz
Hi, I need to bind objects using JNDI in my servlet running on apache tomcat . Since I'm new to the JNDI topic, I did a lot of reading the last few days and got mixed up a little. The tomcat documentation says that the initialContext is read-only, but then I found the hint to a solution in the

Re: find where webapp installed via java code

2007-01-25 Thread Christian Spatz
I have a similar question. I would like to know the path to the tomcat home directory so that I can store a file there, which won't be deleted when reploying. I want to use this as an alternative to storing some values in a database. Thanks, Max - Original Message - From: David Delbecq