Skip to content

Instantly share code, notes, and snippets.

@jdeoliveira
Created November 22, 2012 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdeoliveira/4132739 to your computer and use it in GitHub Desktop.
Save jdeoliveira/4132739 to your computer and use it in GitHub Desktop.
Multiple config files with Spring PropertyPlaceHolderConfigurer
<spring:bean id="property-placeholder" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" >
<spring:property name="locations">
<spring:list>
<spring:value>classpath:first.properties</spring:value>
<spring:value>classpath:second.properties</spring:value>
</spring:list>
</spring:property>
</spring:bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment