<bean:define id="personCollection" name="selectForm" property="persons"/>
<html:select name="selectForm" property="person.id" size="1">
<html:options collection="<bean:define id="personCollection" name="selectForm" property="persons"/>
<html:select name="selectForm" property="person.id" size="1">
<html:options collection="personCollection" property="id" labelProperty="name"/>
</html:select>" property="id" labelProperty="name"/>
</html:select>
参照一下吧,其实就是在你的上一个action中给personCollection赋值
<html:select name="selectForm" property="person.id" size="1">
<html:options collection="<bean:define id="personCollection" name="selectForm" property="persons"/>
<html:select name="selectForm" property="person.id" size="1">
<html:options collection="personCollection" property="id" labelProperty="name"/>
</html:select>" property="id" labelProperty="name"/>
</html:select>
参照一下吧,其实就是在你的上一个action中给personCollection赋值
这个标签也不错,其实具体的用法还得自己查