Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session - setAttribute() with Array?

 
Rich Barry
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...
I am building a mock sports store.. and I have a customer login in... and start a session... so say if this persons buys a can of tennis ball and a tennis racquest.. instead of setting two session objects.. I need to use and Order Array... and I am not sure how to get started.. any suggestions??
Thx
Rich
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can have a order object which contains a data array.
 
Rich Barry
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok... is there any way you can give me a little more detail.. I am new at this stuff...
Thx
Rich
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic