• Post Reply Bookmark Topic Watch Topic
  • New Topic

shopping cart  RSS feed

 
Pradeep Nair C
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am now working with a jsp project on online book shop.i want to store the books detail in my cart. which are the methods used?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Typically one would create a class to represent the "shopping cart" - an instance would be stored in a session so it could be used by both servlets and JSP.
You also have a class to represent catalog items.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!