<form action="paysuccessful.jsp?bookname=<%=request.getParameter("bookname")%>" method="post">
<input type="number" name="amount" value="1" style="width:70px;height:30px" min="1" max="20" />
<input type="submit" value="付款" style="width:50px;height:30px" >
</form>
我怀疑是不是type=number是html5更新的,会不会还不支持request方法。。。其他的type都可以的,不知道为什么number不行
为什么代码贴出来就剩下这么点了,郁闷
http://paste.ubuntu.com/ 贴到这个网址上,然后把网址发出来就行啦,不用谢
呵呵 代码里面都没有看到 request.getParameter("amount"), 你再编辑下把
amount在哪里呢?代码少了吧?