Multiple properties files in Spring context XML
Spring allows to externalize string literals in its context configuration files into external properties files, in order to separate application specific settings from framework specific configuration.
<context:property-placeholder/>
This element activates the replacement of ${…} placeholders, resolved against the specified properties file (as a Spring resource location).
PropertyPlaceholderConfigurer
A property resource configurer that resolves placeholders in bean property values of context definitions.
Categories & Tags
Related
Share