Can someone please tell me the best way to store site settings in a Tapestry application?

I would like to store the location of a certain directory (where Lucene data is to be kept), and it is different in development and in production, so I don't want it hard coded into the code. Where should I store this setting? In a properties file? (and if so, where do I store the location to the properties files?) In the web.xml file as a context-param? In app.properties?

What do people out there do?

I suspect the answer is probably app.properties, so how do I get access to this in a normal Java class?

Thanks.

--
Tim Koop

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

Reply via email to