763830f76779e94710aa31f9c937030e816fa9cd
MZH Library Management
Initial JSP + Servlet + MySQL scaffold for the library-management system.
Stack
- Java 11
- Maven WAR project layout
- JSP + Servlet on Tomcat
- MySQL through JDBC DAO classes
Local Setup
- Create a MySQL database and run
src/main/resources/db/schema.sql. - Copy
src/main/resources/db.properties.exampletosrc/main/resources/db.properties. - Fill in the MySQL URL, username, and password.
- Build with Maven when available:
mvn clean package
- Deploy
target/library-management.warto Tomcat.
The login flow is intentionally limited to the first scaffold slice. It supports administrator, librarian, and reader roles, stores only a safe authenticated-user snapshot in the HTTP session, and keeps authentication work in Servlet -> Service -> DAO boundaries.
Description
Languages
Java
66.1%
Python
30.4%
CSS
3.5%