Use context, and IT would be able to configure your app outside of war file.
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html -----Original Message----- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, March 31, 2009 2:58 PM To: Tomcat Users List Subject: Re: WebApp configuration best practice? Josh McDonald wrote: > Hi guys, > > First, apologies if this is off-topic for the Tomcat list! If so, > where should I ask it? My question is simple (I hope). What's the best > practice > when: > > 1) you're distributing a .war file > 2) the app needs some simple configuration information Customise your build script to include the config, or supply additional config files that contain your extra info to the war file. p > 3) it will likely be deployed onto shared hosts with no access to > server.xml > > Any enlightenment will be much appreciated! > > Cheers, > -Josh > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org