File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes adding and deleting data from shopping cart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "adding and deleting data from shopping cart" Watch "adding and deleting data from shopping cart" New topic
Author

adding and deleting data from shopping cart

Ricky James
Ranch Hand

Joined: Mar 26, 2007
Posts: 83
Hi,

I have three servlets for a simple shopping cart exercise.

The first servlet is to add the items to a shopping cart. The second to review those items. Then there is a third servlet where a user is able to delete the items from the cart.

The items to be deleted from the cart are to be unchecked from a 'checked' checkbox placed right next to the item by default.

I have all the functionality except deleting the items. The logic is in the RemoveItemsFromCart servlet and I have tried working on it but to no avail.
I am using Hidden Forms for this. When I hit the 'Remove' button nothing happens.

Would be really grateful if somebody could explain what is to be done.

Thanks
Ricky

=====================================


========================================

===================================


[ March 29, 2007: Message edited by: Ricky James ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: adding and deleting data from shopping cart