A full-featured Student Management System built using Spring MVC, JSP, JSTL, JDBC, and MySQL. This project allows administrators to add, view, update, and delete student records efficiently via a web interface.
- Backend: Java, Spring MVC, JDBC
- Frontend: JSP, HTML, CSS, Bootstrap
- Database: MySQL
- Server: Apache Tomcat
- IDE: Eclipse
- ➕ Add new student
- 📄 View all students
- ✏️ Update student details
- ❌ Delete student
- 🔍 Search student by name or ID
- 🧹 Form validations and user feedback
You can add images here like:


Run the following SQL to create the database and table:
CREATE DATABASE studentdb;
USE studentdb;
CREATE TABLE students (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
email VARCHAR(100) NOT NULL,
course VARCHAR(100) NOT NULL,
country VARCHAR(50)
);
-
Clone the repository
git clone https://github.com/Ranjithkumarbandari/student-management-system.git
-
Import into Eclipse as an existing Maven or Dynamic Web Project.
-
Configure Tomcat server in Eclipse and add the project to the server.
-
Update database connection inside
StudentDAO.java
:private String jdbcURL = "jdbc:mysql://localhost:3306/studentdb"; private String jdbcUsername = "root"; private String jdbcPassword = "My_password";
-
Run the project on Tomcat and navigate to:
http://localhost:8080/student-management-system/
student-management-system/
├── src/
│ └── com.cg.SpringMVCProject/
│ ├── controller/
│ ├── service/
│ ├── serviceimpl/
│ ├── entity/
│ └── repository/
├── WebContent/
│ ├── WEB-INF/
│ │ └── web.xml
│ ├── views/
│ │ ├── list-students.jsp
│ │ ├── add-student.jsp
│ │ └── update-student.jsp
│ └── index.jsp
Ranjithkumar Bandari 📧 ranjithkumarbandari09@gmail.com 🔗 LinkedIn
If you found this project helpful, please give it a ⭐ on GitHub!
This project is licensed under the MIT License.