jsp的购物车的实现,简单原理,采用简单的分层。
jsp购物车代码
//shopping.html
pleaseselecttheitemthatyouwanttobuy
jsp购物车代码有哪些
//carts.jsp
<%
cart.processRequest();
%>
youhavechosentheseitems:
<%
String[]items=cart.getItems();
for(inti=0;i { %>
<%
}
%>