Shopping Cart application - Servlet beginners

This post is intended to share the code of Shopping cart application which is made as a mini project for learning purpose. The application is made using Java's servlet program technology.

Details

We have designed three basic pages providing the functionality and requirements of the project i.e homepage to add an item in to the cart, view the cart and delete the item from the cart.

For implementing this project we used:
  • Apache Tomcat server
  • Eclpise
Flow chart for the application looks like below:





Snaps of the application:


index.html


addtocart.java
deleteitem.java 

  • index.html :  Asks for the items to be added to cart
  • addtocart.java: Shows the cart and also gives option to add more items to cart
  • deleteitem.java: deletes the item from cart and shows the cart also gives option to add more items to cart


You can find the full code of this application here: github repository


Comments

Popular posts from this blog

Windows phone Wifi connectivity problem.

Create Excel file using Java: Apache POI - PART - 2: Line Chart