All,

One of the possibilities Tomcat 5.5 suggest for the context configuration of a web application is a file named "context.xml" in the META-INF of your webapp.

In my case it declares a datasource, which differs depending on the deployment 
environment.

Question: how can I use different context.xml for different environments? Filters don't work, because the file is not part of "resources", but webapp/META-INF (because, when it's part of resources it gets packaged under WEB-INF/classes).

I'm trying to figure out the best way to do this, using context.xml or external configuration files (which will need to be deployed and undeployed each time the web-app get's deployed or undeployed)

Thx for any help!

Janek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to