list:
<bean id="userAction" class="com.xx.action.UserAction"> <property name="list"> <list> <value>哈哈</value> <value>嘻嘻</value> <value>嘎嘎</value> </list> </property> </bean>
set:
<bean id="userAction" class="com.xx.action.UserAction"> <property name="set"> <set> <value>哈哈</value> <value>嘻嘻</value> <value>嘎嘎</value> </set> </property> </bean>