<input type = "text" name = "list1[%{#rowStatus.index}].pln_n_n" value = "<s:property value="pln_n_n"/>"/>
如果您使用HTML标记,OGNL将无法在其中使用。
您需要使用
<s:property/>以下任一方法:
<input type = "text" name = "list1[<s:property value="%{#rowStatus.index}"/>].pln_n_n" value = "<s:property value="pln_n_n"/>"/>或使用Struts2标签(OGNL在其中工作):
<s:textfield name = "list1[%{#rowStatus.index}].pln_n_n" value = "pln_n_n" />旁注:
value
如果与 没什么 不同name
,则不需要"SUCCESS"
违反约定,应该"success"
(由SUCCESS
常量映射)



