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 ...

Get MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.