Have you considered Spring and it's IOC framework? Works wonderfully with Struts (even has a lovely plug-in to get the whole thing working together).
The configuration is only one aspect of the whole Spring framework. Christopher Marsh-Bourdon www.marsh-bourdon.com -----Original Message----- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 17 August 2005 16:20 To: Struts Users Mailing List Subject: Re: Best way to store config variables Konrad Billewicz wrote: >At the moment I wish to do it using web.xml or, maybe better, context >file in conf/Catalina/. Currently there are serveral things to change >ie. data source parameters. > >What do you think about it? > > I think storing it under the Tomcat config directories would be a really bad idea, since they're application (not server) level configs. Personally, I keep things like this in either web.xml, a struts config file, or an application-specific configuration mechanism (generally XML or YAML). Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -------------------------------------------------------------------------------- The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3167 -------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]