您的位置:首页 > Web前端 > JavaScript

servlet中如何获取jsp页面表格中的数据

2018-01-25 14:51 344 查看
代码如下

<tr>
 <td><%=a%></td>
<%-- <td><%=list.get(a).getUserId()%></td> --%>
<td>???????</td>
<td><%=list.get(a).getMoney()%></td>
<td><%=list.get(a).getReason()%></td>
<%if((list.get(a).getEstado())==1||(list.get(a).getEstado())==3){ %>
<td>待办</td>
<%}else if(!((list.get(a).getEstado())==3||(list.get(a).getEstado())==3)){ %>
<td>已办</td>
<%} %>
<td>
<form action="accountantWork" method="post" name="accyes">
<input type="submit" name="yes" value="同意">
</form>
</td>
<td>
<form action="accountantWork" method="post" name="accno">
<input type="submit" name="no" value="否定">
</form>
</td>
</tr>
其中我想获取<te>??????</td>中的数据

目的:点击"同意"按钮,可以将数据传到servlet

求救大神!!!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  servle jsp