File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 13037
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.
I agree. Here's the link:
subject: shopping cart
It's not a secret anymore!