http://localhost:8080/MyTest/SaleEntry.jsp?itemID=1&numItems=3&discountCode=4
HTTP Status 500 - /SaleEntry.jsp (line: 17, column: 66) Attribute value request.getParameter("itemID") is quoted with " which must be escaped when used within the value
SaleEntry.jsp (line: 17, column: 66) Attribute value request.getParameter("itemID") is quoted with 你这个jsp的17行出错,,你这个SaleEntry.jsp直接当首页,也就是一运行就进来了,但是你request里是没有值的,你request肯定出错啊。。。
你试试新建一个jsp,然后用一个A标签跳转试试,,跳转
itemID用的是双引号
jsp页面 不能 双引套双引
request.getParameter("itemID") 这行代码需要转义,改为request.getParameter(\"itemID\")
相同问题参考:http://blog.csdn.net/eagleking012/article/details/6666860