code_junkie

Can Spring Parse and Inject Properties Files?

Nov 11th, 2011
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. <context:property-placeholder location="aaa/bbb/ccc/stuff.properties"/>
  2.  
  3. <props><prop key="abc">some value</prop></props>
  4.  
  5. <util:properties id="myProperties" location="classpath:com/foo/my.properties"/>
Add Comment
Please, Sign In to add comment