Student_Management_System

๐ŸŽ“ Student Management System

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.

๐Ÿ›  Tech Stack


๐Ÿ“Œ Features


๐Ÿ“ธ Screenshots

You can add images here like:

![Homepage](screenshots/homepage.png)
![Add Student](screenshots/add-student.png)

๐Ÿ“ƒ Database Setup

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)
);

๐Ÿš€ How to Run

  1. Clone the repository

    git clone https://github.com/Ranjithkumarbandari/student-management-system.git
    
  2. Import into Eclipse as an existing Maven or Dynamic Web Project.

  3. Configure Tomcat server in Eclipse and add the project to the server.

  4. Update database connection inside StudentDAO.java:

    private String jdbcURL = "jdbc:mysql://localhost:3306/studentdb";
    private String jdbcUsername = "root";
    private String jdbcPassword = "My_password";
    
  5. Run the project on Tomcat and navigate to: http://localhost:8080/student-management-system/


๐Ÿ“ Project Structure

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

๐Ÿ‘จโ€๐Ÿ’ผ Author

Ranjithkumar Bandari ๐Ÿ“ง ranjithkumarbandari09@gmail.com ๐Ÿ”— LinkedIn


โญ Show your support

If you found this project helpful, please give it a โญ on GitHub!


๐Ÿ“„ License

This project is licensed under the MIT License.