• Post Reply Bookmark Topic Watch Topic
  • New Topic

What type of collection is best for a shopping cart?  RSS feed

 
Dave Bosky
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a nice shopping cart in cold fusion awhile back and now I need to convert it over to use Java/JSP. What type of collection is typically used to hold the shopping cart contents? Does anyone know of a nice tutorial that will assist in stepping through the creation process?
Thanks,
Dave
 
Angel Dobbs-Sciortino
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at chapter nine of "Core Servlets and JavaServer Pages" by Marty Hall. This chapter has an example of a shopping cart. There's a free online version of the first edition of this book here.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!