<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不行