Chapter 2. Java Beans and JSP

IN THIS CHAPTER

Java Beans are fundamental to the operation of JSP. They are the nuggets of information that persist between requests, that are filled in by forms, and that otherwise provide the glue to make your Web site work.

Beans themselves are very simple. They are merely Java classes that obey a few simple conventions. More than likely, you've already written a few Beans, but we'll start off with a quick review of them before talking about how JSP uses Beans.

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.