On Mon, Nov 16, 2009 at 9:26 AM, Rainer Frey <rainer.f...@inxmail.de> wrote: > Hi, > > I'm preparing a sample webapp for this list to illustrate a problem that I > have with JDBC driver loading in a servlet. Anyone who'd try this would need > to edit the jdbc connection data to test with a local DB. What is the easiest > method for you to configure a webapp that I'll provide? > > * settings as init params in web.xml > * settings in /META-INF/context.xml (both ways you'd need to upack, edit, > repack and deploy) > * a separate context file along with the war file > * any other idea?
It may be an overkill for this concrete scenario, but take a look at ConfigureMe configuration framework: https://configureme.dev.java.net in particular: http://infra.anotheria.net/confluence/display/CONFIGUREME/GettingStarted regards Leon > > Rainer > > --------------------------------------------------------------------- > 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