Online Flea Market System In Java Using JSP And Servlet With Source Code

Online Flea Market System in Java using JSP and Servlet with Source Code. This project is developed to allow users to shop for lifestyle products. It is designed for both third-year and final-year students for their college projects and is available with source code.

Online Flea Market System Overview

It is a multi-role application project i.e. Admin and User, where Admin will have the main control over the system.

Admin will be responsible for the management of the system. Admin can manage users, registration, products, categories, payments, etc. On the other hand, Users can register themselves, log in using the login credentials, shop, as usual, make payments online and get the orders delivered to the doorstep.

The whole project is developed using Servlet and JSP. At the front end, we have used HTML, CSS, and Bootstrap. At the data access layer, we have used JDBC API. The Database used here is MYSQL. The whole project is following the MVC (Model View & Controller) design pattern.

Online Flea Market System Abstract

Flea Markets are great options for shopping for a variety of stuff at affordable prices. Nowadays, businesses have a high chance of growth if taken online. Hence, for the same, managing an online flea market requires an online system.

Codebun has designed this project in java, which has two main roles i.e. Admin and User. Admin is the primary user. Admin can add/remove/update any details related to the system, View/Confirm/Cancel registrations done by Users, and so on. Admin can manage User details and also, keep the records of the Users, etc.

Admin will be responsible for maintaining the system, managing users, orders placed by users, and the availability of products. Admin can update prices of the products/services, can categorize products, maintain products databases, check their availability, and View/Confirm/Cancel orders placed by Users, manage payments, and so on. Admin can keep the records of the Users.

On the other hand, Users can register themselves, log in using the login credentials, and order products online. Users can find detailed information about the products on the system after logging in. Users can manage their profiles, see purchase history, etc.

The following are the major objective of this application:

  1. To provide a bug-free application.
  2. The main objective is to build a secured, robust Online Flea Market System.
  3. It maintains the record of users, products, orders & history, etc.

Modules in Online Flea Market System

Admin Module- This module will allow Admin to log in to the system and manage the system and its functions. Admin can View/Confirm/Cancel orders, manage products/product categories, product/service details, and their availability; manage users, payments, etc.

User Module– The user module will allow users to log in to the system using their login id and password. Users can search for any product or service, then place an order and make payments. Users can also see if a particular product is in stock or not. Users can manage their profiles.

Category- In this module, Admin can categorize products accordingly. Admin can mention details of each product properly while maintaining categories.

Payment Module- In this module, Users can make payments for the products purchased.

Availability- In this module, Admin can check whether the particular product is available in stock or not.

Order Module- All the order-related operations can be managed in this module.

User Detail Module– Details of Users like a Name, Contact Number, Address, Order history, and payments can be managed and maintained by Admin in this module.

User Roles of Online Flea Market System

Two users can interact with this application 1) Admin 2) User


  • Can Log in/Log out of the system.
  • Admin can View/Edit/Delete products and their details.
  • Can View/Edit/Delete categories into the system.
  • Admin can View/Confirm/Cancel orders placed by the User.
  • Can check payments done by User.
  • Can change prices of products.
  • Can manage users.
  • Can change password.
  • Can manage “My profiles”.


  • Can log in/log out of the system.
  • Can Manage “My profile”.
  • Can search for products from a specific category.
  • Users can Place/Cancel an order.
  • Can make payments online.
  • Can change password.

Flow Diagram of Online Flea Market System

Tools and Technologies Used

Technology/Domain: Java
Front-End: JSP, Html, CSS, JS, Bootstrap.
Server-side: Servlet.
Back-end: MYSQL.
Server: Tomcat 8.5.

Contact to get the Source Code

Skype Id: jcodebun

Note: If you need the source code you can contact Us. We will provide complete source code and all the required things like Database and project reports with all the diagrams. Also, we have created a STEP by STEP configuration tutorial to help you in the configuration process.

If you find any kind of difficulties during the configuration, we will provide a complete project configuration guide remotely using any Desk or Zoom.