• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

adding and deleting data from shopping cart

Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.





[ March 29, 2007: Message edited by: Ricky James ]
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic