|
| 1 | +# 🎓 Student Management System |
| 2 | + |
| 3 | +A **Java-based Student Management System** built using **Maven**, **MySQL**, and **Web Technologies (HTML, CSS, JavaScript)**. |
| 4 | +This project allows administrators to manage student details efficiently — including adding, updating, deleting, and viewing student records. |
| 5 | + |
| 6 | +--- |
| 7 | + |
| 8 | +## 🚀 Features |
| 9 | +- ➕ Add new students |
| 10 | +- ✏️ Update existing student information |
| 11 | +- ❌ Delete student records |
| 12 | +- 📖 View all students in a structured format |
| 13 | +- 🔍 Search students by ID, name, or other fields |
| 14 | +- 🎨 Simple and responsive web interface |
| 15 | + |
| 16 | +--- |
| 17 | + |
| 18 | +## 🛠️ Tech Stack |
| 19 | +- **Backend:** Java (Servlets, JDBC), Maven |
| 20 | +- **Frontend:** HTML, CSS, JavaScript |
| 21 | +- **Database:** MySQL |
| 22 | +- **Server:** Apache Tomcat |
| 23 | + |
| 24 | +--- |
| 25 | + |
| 26 | +## 📂 Project Structure |
| 27 | +Student-Management-System/ |
| 28 | + │── src/main/java/ # Java source files (Servlets, JDBC, Models) |
| 29 | + │── src/main/webapp/ # JSP/HTML, CSS, JavaScript files |
| 30 | + │── pom.xml # Maven configuration |
| 31 | + │── README.md # Project documentation |
| 32 | + |
| 33 | + |
| 34 | +--- |
| 35 | + |
| 36 | +## ⚙️ Setup Instructions |
| 37 | +1️⃣ Clone the Repository |
| 38 | +```bash |
| 39 | +git clone https://github.com/your-username/student-management-system.git |
| 40 | +cd student-management-system |
| 41 | +2️⃣ Configure Database |
| 42 | + |
| 43 | +Create a MySQL database: |
| 44 | + |
| 45 | +CREATE DATABASE studentdb; |
| 46 | + |
| 47 | + |
| 48 | +Create student table: |
| 49 | + |
| 50 | +CREATE TABLE student ( |
| 51 | + id INT PRIMARY KEY AUTO_INCREMENT, |
| 52 | + name VARCHAR(100) NOT NULL, |
| 53 | + age INT NOT NULL, |
| 54 | + gender VARCHAR(10), |
| 55 | + marks DECIMAL(5,2) |
| 56 | +); |
| 57 | + |
| 58 | +Update database connection in DBConnection.java : |
| 59 | + |
| 60 | +String url = "jdbc:mysql://localhost:3306/studentdb"; |
| 61 | +String username = "root"; |
| 62 | +String password = "root"; |
| 63 | + |
| 64 | +3️⃣ Build Project |
| 65 | +mvn clean package |
| 66 | + |
| 67 | +4️⃣ Deploy on Tomcat |
| 68 | + |
| 69 | +Copy the generated .war file from target/ into Tomcat’s webapps/ directory. |
| 70 | + |
| 71 | +Start Tomcat server. |
| 72 | + |
| 73 | +Access the application at: |
| 74 | + |
| 75 | +http://localhost:8080/student-management-system |
| 76 | + |
| 77 | +📸 Screenshots |
| 78 | +<img width="1359" height="752" alt="image" src="https://github.com/user-attachments/assets/63e1a051-63c4-4214-93e6-60708d1a2565" /> |
| 79 | +<img width="1366" height="764" alt="image" src="https://github.com/user-attachments/assets/ede79838-a3c8-4fcb-9551-57ac914c88cf" /> |
| 80 | +<img width="1366" height="766" alt="image" src="https://github.com/user-attachments/assets/9a5448d5-d186-41e9-84aa-479c57e3f100" /> |
| 81 | +<img width="1364" height="763" alt="image" src="https://github.com/user-attachments/assets/c62249b4-c129-4d19-972e-38dec6f5dcbb" /> |
| 82 | + |
| 83 | + |
| 84 | + |
0 commit comments