This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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
 
GeeCON Prague 2014
 
subject: Session - setAttribute() with Array?