jsp页面的提交按钮 没有跳转到指定页面?

如题所述

第1个回答  2015-06-27
<form action="CartServlet?opt=buy" method="post">
<table>
<td><img src="${sessionScope.b.imgPath}"></img></td>
<td>
<p><h3>${sessionScope.b.title}</h3></p>
<p>作者:${sessionScope.b.author}</p>
<p style="font-size:smaller;">简介:${sessionScope.b.contentDescription}</p>
<p>ISBN:${sessionScope.b.isbn}</p>
<p>出版时间:${sessionScope.b.publishDate}</p>
<p>购买数量:<input typt="text" name="num" value="1"/></p>
<br>
<p><input type="submit" value="加入购物车"/></p>
</td>
</tr>
</table>
</form>本回答被网友采纳
第2个回答  2015-06-27
有form表单吗,代码贴上来啊
相似回答