I have a property file Details2.txt
and it is filled with some values like :
list.value=34
list.value=35
list.value=38
list.value=45
list.value=23
Now i want to iterate this in my spring xml and i am unable to do so
XML code (parts only) :
<context:property-placeholder location="Details2.txt" />
<constructor-arg>
<list>
<value>${list.value}</value>
</list>
</constructor-arg>
this gives only the last value in property file