<!-- Bean For Map of pojo class-->
Mon Jul 25 2022 11:39:03 GMT+0000 (Coordinated Universal Time)
Saved by
@DGSH
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<bean>
<!-- For Map-->
<property name="courses">
<map>
<entry key="Java" value="3month"></entry>
<entry key="Python" value="1month"></entry>
<entry key="Node" value="5month"></entry>
</map>
</property>
</bean>
<beans>
content_copyCOPY
Comments