MySQL and JSP Web Applications: Data-Driven Programming Using Tomcat and MySQL

I l @ ve RuBoard

Chapter 8. Retrieving, Storing, and Verifying User Input

IN THIS CHAPTER

  • The Customer Class

  • Reading and Writing Customers from the Database

  • Cleaning Up the Code

  • Accessing the Customer Class from JSP

  • Field Validation

  • Handling Forgotten Passwords

  • Using Cookies to Store Login

  • Moving On

Well, it has been a bit of a journey, but you're finally ready to start laying down some Java and JSP. Now you can start to have some fun.

One of the main jobs of a Web developer is to write code that takes information from a user and does something with it. Unfortunately, users are only human, and they make mistakes. So, after that information has been collected, you also need to make sure that your code checks for those mistakes and acts on them. This chapter is all about that process.

I l @ ve RuBoard

Категории