Link Details

Link 13329 thumbnail
User 111696 avatar

By bloid
via juretta.com
Published: Feb 13 2007 / 14:19

Being a long time ant user i always wanted to use Ant-style properties in my Spring bean definitions. And no surprise here - this is quite easy to accomplish. Spring has the PropertyPlaceholderConfigurer class which takes a Java properties file and replaces ${} placeholders in your XML based bean definition files. A very simple examples shows how to use the property placeholders.
  • 8
  • 0
  • 784
  • 143

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (0)