I created a website using
jsp and
servlet. I made a shopping cart and got the items to display. But how can i remove the items from the cart? Next to each item is a remove button. When that is pressed the item selected needs to be removed and cart needs to refresh.
Here is the code to display the cart:
and here is the servlet: