Hi,
We're running into a problem with Spring and configuration when deploying our war file and needing to customize some of the properties within it.
For example, we need to set an ip address for one of our classes that Spring initializes which will be different in each customer's situation. Loading the applicationContext.xml during startup will throw lots of errors if this is not set correctly, but it's difficult to update the properties in the war before deployment. Obviously as a web app, putting the properites outside of the war is not an option.
I would have thought this is a fairly common problem, and was wondering how people deal with it?
cheers,
David


Reply With Quote