Announcement Announcement Module
Collapse
No announcement yet.
spring 1.2 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring 1.2

    Hi

    I am working in project using the version 1.2 (after years with 2.5 and 3)
    I would like to know if the is a way de create a map as a bean in the xml configuration file.

    Regards

  • #2
    Find a solution

    <bean id="..." class="java.util.HashMap" factory-bean="">
    <constructor-arg>
    <map>
    <entry key="..." value-ref="..." />
    </map>
    </constructor-arg>
    </bean>
    It should work

    Comment

    Working...
    X