Skip to content

Instantly share code, notes, and snippets.

@calvincodes
Created June 27, 2017 05:18
Show Gist options
  • Save calvincodes/2bdb06f6b3aacf6181031c096772ba25 to your computer and use it in GitHub Desktop.
Save calvincodes/2bdb06f6b3aacf6181031c096772ba25 to your computer and use it in GitHub Desktop.
<bean id=“configurer1" class=“org.springframework.beans.factory.config.PropertyPlaceholderConfigurer”>
<property name="location" value="file:${catalina.base}/conf/config1.properties"/>
<property name="ignoreUnresolvablePlaceholders" value="true"/>
</bean>
<bean id=“configurer2" class=“org.springframework.beans.factory.config.PropertyPlaceholderConfigurer”>
<property name="location" value="file:${catalina.base}/conf/config2.properties"/>
<property name="ignoreUnresolvablePlaceholders" value="true"/>
</bean>
<bean id="attachmentClient" class="com.aj.commons.client.attachmentClient">
<property name="declaredProp" value="${declaredPropVal:defaultValue1}"/>
<property name="undeclaredProp" value="${undeclaredPropVal:defaultValue2}"/>
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment