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.
- Introduction
- Features
- Technologies Used
- Project Structure
- Setup Instructions
- Usage
- Contributing
- License
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.
- User registration
- User login
- Displaying a list of users
- Updating user information
- Deleting user accounts
- Java
- JSP (JavaServer Pages)
- Servlets
- MySQL
- HTML
- CSS
- Tomcat Server
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.
- Clone the repository.
- Set up a MySQL database and update the connection details in
DbConnection.java
. - Deploy the project on a servlet container like Apache Tomcat.
- Register a new user by accessing
register.jsp
.
- Update user information by clicking on the "Update" link.
- Delete a user by clicking on the "Delete" link.
- List Users Data.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License.