摘要: 1 servlet代码 2 cart.jsp代码 阅读全文
posted @ 2018-02-13 23:00 Jepson6669 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 1 delProductFromCart 删除单一商品 2 cart.jsp代码 阅读全文
posted @ 2018-02-13 21:59 Jepson6669 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 1 案例效果 2 案例分析 3 代码实现 1 CartItem对象 2 Cart对象 3 ProductServlet对象 4 product_info.jsp 5 cart.jsp 阅读全文
posted @ 2018-02-13 17:26 Jepson6669 阅读(458) 评论(0) 推荐(1) 编辑
摘要: 1 product模块的抽取版本一 1 ProductServlet代码 抽取之后,原来对应的IndexServlet,ProductListByCidServlet等都可以删除。对应的web.xml里面的配置文件也需要删除。 然后就是需要修改原来页面中执行对应servlet的代码。 2 页面中代码 阅读全文
posted @ 2018-02-13 08:45 Jepson6669 阅读(321) 评论(0) 推荐(1) 编辑