Spring <prop> tag

I have

   <bean id="dao" class="......"> 
      <property name="foo">
           <prop key="me">Homer</prop>

I want to use my current properties file, name-value pair, to change "Homer" I cannot figure it out...


Use the PropertyPlaceholderConfigurer bean. Example here:


Need Your Help

How to provide config file for Ruby command line utility written in Ruby?

ruby command-line configuration-files

I have a command line utility written in Ruby using GLI framework. I would like to have configuration for my command line utility in my home directory, using Ruby itself as DSL to handle it (simila...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.