Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

At this stage, the user is done shopping and has decided to checkout. The post of this form is to i18n.Checkout.action. This maps to aciton Checkout. This action will determine the total cost of the contents in the user's shopping cart and sets its attribute totalPrice. The action returns SUCCESS which maps to to view checkout.jsp. This view will display the user's shopping cart contents along with its total price.

Step 6 -

...

User can shop again if desired.

At this stage, the user has checked out and if they want they can begin shopping again. If they choose to start again, they select the HREF which points to i18n.Restart.action. This action will remove the user's shopping cart and return SUCCESS which will map to view shop.jsp to start this process all over again.

...