Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JSP and the fly likes Session - setAttribute() with Array? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Session - setAttribute() with Array?" Watch "Session - setAttribute() with Array?" New topic
Author

Session - setAttribute() with Array?

Rich Barry
Greenhorn

Joined: Jan 28, 2002
Posts: 19
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

Joined: Mar 07, 2002
Posts: 1427
You can have a order object which contains a data array.
Rich Barry
Greenhorn

Joined: Jan 28, 2002
Posts: 19
Ok... is there any way you can give me a little more detail.. I am new at this stuff...
Thx
Rich
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Session - setAttribute() with Array?