Overriding property file using spring
问题 I have the following property file defined in one of my Spring (3.1) XMLs: <context:property-placeholder location="classpath:MyConfigFile.properties"/> I want to be able to define a second optional property file which will override the "MyConfigFile.properties" file and will get loaded instead of it. In Other words I want my application to load the "MyConfigFile.properties" file, but if a "StrogerConfigFile.properties" will be available at the classpath- it will get loaded instead. Anyone