Extending the BookShoppingServlet with BookCheckOutServlet

Extending the BookShoppingServlet with BookCheckOutServlet

The 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.



Sams Teach Yourself BEA WebLogic Server 7. 0 in 21 Days
Sams Teach Yourself BEA WebLogic Server 7.0 in 21 Days
ISBN: 0672324334
EAN: 2147483647
Year: 2002
Pages: 339

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net