ShowSession.java
A servlet that shows basic information about the client’s session.
CatalogPage.java
An abstract base class used as a starting point for servlets
that want to display items for sale. It takes the identifiers
for the items for sale, looks them up in the catalog, and
uses the descriptions and prices found there to present an order page to the user.
KidsBooksPage.java
A specialization of the
CatalogPage
servlet that displays a page selling three famous kids-book series.
Orders are sent to the
OrderPage servlet.
TechBooksPage.java
A specialization of the CatalogPage servlet that
displays a page selling two famous computer books.
Orders are sent to the
OrderPage servlet.
OrderPage.java
Servlet that shows all items currently in
ShoppingCart. Clients
have their own session that keeps track of which
ShoppingCart is theirs.
ShoppingCart.java
The shopping cart implementation. It maintains a Vector of orders,
with methods to add and update these orders.
Item.java
A class that describes a catalog item for on-line store.
ItemOrder.java
A class that associates a catalog
Item
with a specific order by
keeping track of the number ordered and the total price.
Catalog.java
A catalog listing the items available in inventory.
Checkout.html.
Page that handles the final checkout process. The general
shopping cart code is reusable in your application; this
checkout page is not. :-)