<table>
<s:iterator value="#session.buyList" id="buy" status = "status">
<tr>
<td><s:property value="#buy.medicine"/></td>
<td><s:property value="#buy.from"/></td>
<td><s:property value="#buy.to"/></td>
<td><s:property value="#buy.amount"/></td>
<td><s:property value="#buy.price"/></td>
<td><a href="<s:url action="removeBuy">
<s:param name="index" value="%{#status.index}"></s:param>
</s:url>">取消</a>
</td>
</tr>
</s:iterator>
<table>
struts中如何把s:iterator中的值通过超链接传给action
最新推荐文章于 2019-05-29 10:38:03 发布