This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes shopping cart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "shopping cart" Watch "shopping cart" New topic

shopping cart

Pradeep Nair C

Joined: Mar 04, 2002
Posts: 13
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

Joined: Mar 22, 2000
Posts: 12761
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.
jQuery in Action, 2nd edition
subject: shopping cart
Similar Threads
Lost Request Attributes
how in JSP I translate an html checkbox to true/false in java
Relocating a stateful bean
Shopping Cart
Expandable Form Elements -- Please Help