This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring properties value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring properties value " Watch "Spring properties value " New topic

Spring properties value

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1396
<bean id="configuredProperties" class="com.sample.SpringPropertiesBean">
<property name="location" value="classpath:/"/>

SpringPropertiesBean extends from org.springframework.beans.factory.config.PropertiesFactoryBean and properties( are loaded in this class.

<bean id="sample"
<property name="arguments">
<prop key="">###########</prop>
</bean> key and respective value is defined in the file. How should i get the prop value for the bean sample ? Can i use <util:properties> or <props> tag ?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1396
Any update ?
Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

I think this previous post should help you.

[How To Ask Questions][Read before you PM me]
I agree. Here's the link:
subject: Spring properties value
jQuery in Action, 3rd edition