struts2 多记录(数量不定)提交
? <form action="multiTest.action" method="post">
?? <s:iterator value="ll" status="st">
?? ??<s:property value="#st.index"/>
?????<input name="l[<s:property value='#st.index'/>].id" value="<s:property value='id'/>"/>
???????????????? <input name="l[<s:property value='#st.index'/>].name" value="<s:property value='name'/>"/>
?? </s:iterator>
?? <s:submit></s:submit>
? </form>
?
?
注意,角标不支持直接写成“#st.index”