Why do you need to provide a sample webapp? Usually if you post your database configuration, the exception that you are getting and the code where the exception is raised people should be able to figure out why there is a problem. :)
On Mon, Nov 16, 2009 at 11:28 AM, Leon Rosenberg < [email protected]> wrote: > On Mon, Nov 16, 2009 at 9:26 AM, Rainer Frey <[email protected]> > 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: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
