The Shopping Cart example below demonstrates how to use sessions to save data between requests.
The example allows the user to add items to a shopping cart, and then view the contents of the cart.
The expense report example below demonstrates how to use Struts with JSP
The example allows the user to add expense details and can retrieve the expense by specifying date.