March 2002
Beginner to intermediate
528 pages
10h 12m
English
To illustrate JSP technology, this chapter rewrites each servlet in the Duke’s Bookstore application introduced in The Example Servlets (page 211) in as a JSP page. Table 11-1 lists the functions and their corresponding JSP pages.
| Function | JSP Pages |
|---|---|
| Enter the bookstore | bookstore.jsp |
| Create the bookstore banner | banner.jsp |
| Browse the books offered for sale | catalog.jsp |
| Put a book in a shopping cart | catalog.jsp and bookdetails.jsp |
| Get detailed information on a specific book | bookdetails.jsp |
| Display the shopping cart | showcart.jsp |
| Remove one or more books from the shopping cart | showcart.jsp |
| Buy the books in the shopping cart | cashier.jsp |
| Receive an acknowledgement for the purchase ... |