Chapter 13: Using JavaBeans with JSP
Source Code in This Chapter
Note:
right-click or shift-click on the links to download the associated file. All code is freely available for unrestricted use.
Order now
StringBean.java
A simple bean that has a single
String
property called
message
.
StringBean.jsp
A page that uses the
StringBean
class.
SaleEntry.java
A bean with various properties representing a collection of items for sale.
SaleEntry1.jsp
A page that explicitly sets properties of the
SaleEntry
class.
SaleEntry2.jsp
A page that matches up specific input parameters with properties of the
SaleEntry
class.
SaleEntry3.jsp
A page that matches up all input parameters with identically-named properties of the
SaleEntry
class.
AccessCountBean.java
A bean that represents information on global access counts.
SharedCounts1.jsp
First of three pages that share the
AccessCountBean
.
SharedCounts2.jsp
Second of three pages that share the
AccessCountBean
.
SharedCounts3.jsp
Last of three pages that share the
AccessCountBean
.
JSP-Styles.css
Style sheet used by JSP documents in this chapter.
URLs in This Chapter
JavaBeans documentation
General
On-site servlet and JSP short courses.
Taught at
your
location.
Public (open enrollment) servlet and JSP short courses.
For those without enough people to justify an on-site course.
Order from amazon.com.
Free examination copies for instructors.
For courses that are considering the use of the book.
Course materials
License materials for use in your own courses.
Reader reviews.
Table of contents.
Also available
in PDF
.
Index.
Adobe acrobat (PDF) format.
API for all code.
Javadoc format.