Extending the BookShoppingServlet with BookCheckOutServletThe BookShoppingServlet that you developed yesterday is a standalone servlet. Now you will extend the functionality of the BookShoppingServlet by writing another servlet, the BookCheckOutServlet. The BookShoppingServlet generates two HTML pages, the Book Listing page and the View Cart page. On the View Cart page, you will add another button, Checkout, next to the Empty Shopping Cart button. When the user clicks the Checkout button, the BookShoppingServlet chains to the BookCheckOutServlet and delegates control to the BookCheckOutServlet. The BookCheckOutServlet generates the Checkout screen that allows the user to fill in credit card details. |