struts2 ognl 复杂应用
1获取uri :
<s:property value="#request.get('javax.servlet.forward.request_uri')">
2 Iterator内嵌textfield标签
<s:iterator value="mms" id="mm" status="st">
<tr>
<td>年龄:<s:textfield name="%{'mms['+#st.index+'].age'}" theme="simple"/> </td>
<td>名字:<s:textfield name="%{'mms['+#st.index+'].name'}" theme="simple" /></td>
<td>等级:<s:textfield name="%{'mms['+#st.index+'].level'}" theme="simple" /></td>
</tr>
</s:iterator> eld标签