Skip to content

Instantly share code, notes, and snippets.

@folkengine
Forked from eugenp/PropertyManualXML_3.1.xml
Created September 10, 2012 16:46
Show Gist options
  • Select an option

  • Save folkengine/3692052 to your computer and use it in GitHub Desktop.

Select an option

Save folkengine/3692052 to your computer and use it in GitHub Desktop.
Properties with Spring - Register Property manually in XML with Spring 3.1
<bean class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:foo.properties</value>
</list>
</property>
<property name="ignoreUnresolvablePlaceholders" value="true"/>
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment