The Example JSP Pages

To illustrate JSP technology, this chapter rewrites each servlet in the Duke's Bookstore application introduced in The Example Servlets (page 436) as a JSP page (see Table 12-1).

Table 12-1. Duke's Bookstore Example JSP Pages
FunctionJSP Pages
Enter the bookstore.bookstore.jsp
Create the bookstore banner.banner.jsp
Browse the books offered for sale.bookcatalog.jsp
Add a book to the shopping cart.bookcatalog.jsp and bookdetails.jsp
Get detailed information on a specific book.bookdetails.jsp
Display the shopping cart.bookshowcart.jsp
Remove one or more books from the shopping cart.bookshowcart.jsp
Buy the books in the shopping cart.bookcashier.jsp
Receive an acknowledgment for the purchase.bookreceipt.jsp

The data for the bookstore ...

Get The J2EE™ Tutorial Second Edition 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.