O'Reilly logo

Sams Teach Yourself JavaServer Pages™ 2.0 with Apache Tomcat in 24 Hours by Kunal Mittal, Alan Moffet, Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 13 More About Saving Data

What You’ll Learn in This Hour:

Image   How to use sessions

Image   How to build a shopping cart that demonstrates the use of Data objects, servlets, and JSPs

Image   How to use cookies to store data

Using Sessions to Save Data in a Shopping Cart Application

Although there are many uses for the session object, one of the most common uses is to store items for online shopping. When you shop online, you usually browse around ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required