📚 Library Management System (JSP + Servlets + MySQL)
A beginner-level Library Management System built using JSP, Java Servlets, and MySQL. Users can browse and issue books, generate receipts in PDF format, and receive email notifications. The system also calculates fines for late returns and supports file upload for book PDFs.
- User Registration & Login
- Admin book upload with PDF file
- Book browsing and issuing
- Issue receipt as PDF (iText)
- Email alert on issue (JavaMail)
- Fine calculation for late returns
- Otp generation for reseting the password
- Contact to Admin via email
- Import the project into NetBeans.
- Create a MySQL database named:
- Create necessary tables** (
Users,Books,Issue, etc.) - Replace placeholders** in your code: -final String url = "YOUR_DB_URL_HERE"; -final String dbUser = "YOUR_DB_USERNAME"; -final String dbPass = "YOUR_DB_PASSWORD"; -final String pass = "YOUR_16_DIGIT_APP_PASSWORD";
- activation.jar ,mail.jar : for sendig mails
- itextpdf-5.5.13.3.jar : for pdf generation
- cos.jar : for receiving the file
- mysql-connector-j-9.2.0.jar,protobuf-java-3.11.4_1.jar: for connecting to database
- bootstrap-4.3.1-dist
📂 All Servlet files are located in src/java/LibraryManagement. 🖥️ All JSP files and uploaded PDFs are stored inside the web directory.
Author: Ayush Chowdhury,MCA student