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.
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