Hi,
I have created a shopping cart application using
jsp and
servlets.
I am able to add items to shopping cart.
But I want to show the items on "View Shopping Cart" jsp page in following table format.
Item | Quantity | Price
book1 | 1 | 100
book2 | 2 | 200
Total | 3 | 300
Also I want "updateQuantity()" and "removeFromCart()" functions in "ViewCart.jsp" page.
How should I do it?
The code for the pages is as follows.
----------------------------
ShoppingCart.java
--------------------------------
Product.jsp