你在logic上面使用
<bean:define id="beanid" name="beanname" property="beanproperty" />
beanid是logic中使用的name,property是ActionForm中对应的字段,多数是List
这样就可以了,不过你的beanname要在struts-config.xml中定义,或者使用动态ActionForm
的方式,否则会报错的。
<bean:define id="beanid" name="beanname" property="beanproperty" />
beanid是logic中使用的name,property是ActionForm中对应的字段,多数是List
这样就可以了,不过你的beanname要在struts-config.xml中定义,或者使用动态ActionForm
的方式,否则会报错的。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货