strus标签使用时如何把简单List的值写回FORM中
在FORM中定义了两个List
list<Option> optionList = new ArrayList<Option>();
List<String> strList = new ArrayList<String>();
在JSP里想把以上两人LIST的值写回FORM中,optionList的写法应该是:
<logic:iterate name="form" propety="optionList" id ="lista" index="optionIndex">
<html:hidden name="lista" property="label" indexed="true" />
<html:hidden name="lista" property="value" indexed="true" />
</logic:iterate >
那strList里每一个结点的值怎么写回FORM呢?