manuo9 / JSP_Servlet_CRUD

JSP SERVLET Web Project Using CRUD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSP_Servlet_CRUD

This is a dynamic web project built using JSP (JavaServer Pages) and Servlets for basic CRUD (Create, Read, Update, Delete) operations. The project uses MySQL as the database to store user information.

Table of Contents

Introduction

This project serves as a template for building web applications in Java with a focus on dynamic content generation. It provides a simple CRUD functionality for managing user data, demonstrating the use of JSP and Servlets in a web application.

Features

  • User registration
  • User login
  • Displaying a list of users
  • Updating user information
  • Deleting user accounts

Technologies Used

  • Java
  • JSP (JavaServer Pages)
  • Servlets
  • MySQL
  • HTML
  • CSS
  • Tomcat Server

Project Structure

The project structure is organized as follows:

  • src/com/assignment/db/servlet: Servlet classes for handling CRUD operations.
  • src/com/assignment/db/entity: Entity class representing user data.
  • src/com/assignment/db: Database connection class.
  • WebContent: Contains JSP files, CSS files, and other web resources.

Setup Instructions

  1. Clone the repository.
  2. Set up a MySQL database and update the connection details in DbConnection.java.
  3. Deploy the project on a servlet container like Apache Tomcat.

Usage

  1. Register a new user by accessing register.jsp.

Screenshot (127)

  1. Update user information by clicking on the "Update" link.

Screenshot (129)

  1. Delete a user by clicking on the "Delete" link.

Screenshot (128)

  1. List Users Data.

Screenshot (126)


Screenshot (125 2)

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License.

About

JSP SERVLET Web Project Using CRUD

License:MIT License


Languages

Language:Java 71.7%Language:CSS 28.3%