O'Reilly logo

MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL by James Turner

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

Time to Get Down to Business

In this chapter, you got a close look at how a combination of techniques can be used to retain customer information between sessions. Cookies can be used to store user login information so that you can have your application automatically identify the customer upon subsequent visits. HttpSessionBindingListener allows you to catch a session timeout and have your application spill data so that the current session isn't lost.

You also learned how to do more advanced form validations, including date and credit card number checks, and how to have one object automatically load in objects that it is related to.

That was certainly a chunk of code that you just went through. The next chapter gives you a break from database ...

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