A Java-based Student Management System built using Maven, MySQL, and Web Technologies (HTML, CSS, JavaScript).
This project allows administrators to manage student details efficiently — including adding, updating, deleting, and viewing student records.
- ➕ Add new students
- ✏️ Update existing student information
- ❌ Delete student records
- 📖 View all students in a structured format
- 🎨 Simple and responsive web interface
- Backend: Java (Servlets, JDBC), Maven
- Frontend: HTML, CSS, JavaScript
- Database: MySQL
- Server: Apache Tomcat
Student-Management-System/
│── src/main/java/ # Java source files (Servlets, JDBC, Models)
│── src/main/webapp/ # JSP/HTML, CSS, JavaScript files
│── pom.xml # Maven configuration
│── README.md # Project documentation
1️⃣ Clone the Repository
git clone https://github.com/your-username/student-management-system.git
cd student-management-system
2️⃣ Configure Database
Create a MySQL database:
CREATE DATABASE studentdb;
Create student table:
CREATE TABLE student (
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
age INT NOT NULL,
gender VARCHAR(10),
marks DECIMAL(5,2)
);
Update database connection in DBConnection.java :
String url = "jdbc:mysql://localhost:3306/studentdb";
String username = "root";
String password = "root";
3️⃣ Build Project
mvn clean package
4️⃣ Deploy on Tomcat
Copy the generated .war file from target/ into Tomcat’s webapps/ directory.
Start Tomcat server.
Access the application at:
http://localhost:8080/student-management-system



