Posted By:
Aditya_Sharma
Posted On:
Wednesday, March 3, 2004 10:22 PM
While designing an ecommerce based Book selling website,i am facing a problem.I am at begginer level designing a shopping cart. I have retrieved all contents of a table Book on a servlet. They are (BookId,BookName,BookPrice,BookAuthor,BookImage) Sixth column is 'Add to my cart'.It contains checkbox for every record.I did that using out.println("") after counting number of records.When user selects any of them and click on 'Submit',i want that value of that checkbox(which have been named as BookId temselves) must go to next servlet on clicking Submit.Problem is how to achieve this. When i click on submit it should first store all values of checkboxes in an array and then pass it to next servlet where i can retrieve t
More>>
While designing an ecommerce based Book selling website,i am facing a problem.I am at begginer level designing a shopping cart.
I have retrieved all contents of a table Book on a servlet.
They are (BookId,BookName,BookPrice,BookAuthor,BookImage)
Sixth column is 'Add to my cart'.It contains checkbox for
every record.I did that using out.println("") after counting number of records.When user selects any of them and click on 'Submit',i want that value of that checkbox(which have been named as BookId temselves) must go to next servlet on clicking Submit.Problem is how to achieve this.
When i click on submit it should first store all values of checkboxes in an array and then pass it to next servlet where i can retrieve them.
<<Less