1、集合种类
数组
List
Set
Map
Properties
2、配置
<bean id="bookDao" class="dao.impl.BookDaoImpl"><property name="array"><array><value>2</value><value>4</value><value>6</value><value>8</value></array></property><property name="list"><list><value>迪丽热巴</value><value>古力娜扎</value><value>马尔扎哈</value></list></property><property name="set"><list><value>迪丽热巴</value><value>古力娜扎</value><value>马尔扎哈</value><value>马尔扎哈</value></list></property><property name="map"><map><entry key="1" value="迪丽热巴"></entry><entry key="2" value="古力娜扎"></entry><entry key="3" value="马尔扎哈"></entry></map></property><property name="properties"><props><prop key="1">迪丽热巴</prop><prop key="2">古力娜扎</prop><prop key="3">马尔扎哈</prop></props></property>
</bean>