16.9. WEB-INF/classes/com/cybertrails/store/tags
This folder contains the custom tags for the application. These tags allow you to add and remove items from the cart, view items in the cart, and calculate the sales tax and the order total. The Checkout custom tag checks to see what step in the checkout process the user is currently in. Possible values are “billing,” “shipping,” or “confirm.” Other steps can be inserted as your application requires. The parameter value is passed from the previous JSP controller.
16.9.1. ProductCartTag.java
/* File: ProductCartTag.java * Purpose: add and remove products from the cart * Notes: if user closes browser, the session is automatically * destroyed. * PRODUCTID attrib is not required because the tag ACTION ...
Get Java™ for ColdFusion® Developers 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.