In this post, we would like to suggest a free open-source project that is the Login App developed using JSP, Servlet, JDBC, and MySQL database for learning purposes. So go ahead, check out the source code, and have a hands-on experience on real-time project.
Login App project is an open-source and available on GitHub repository at https://github.com/RameshMF/servlet-tutorial/tree/master/login-jsp-servlet-jdbc-example
Login Project with JSP + Servlet + JDBC + MySQL Database | Download
In this simple project, we will create an Employee Login Form and we will validate the employee username and password with the database.
Below diagram shows our Employee Login App build using JSP:
Login Page:
Tools and technologies used
- JSP - 2.2 +
- IDE - STS/Eclipse Neon.3
- JDK - 1.8 or later
- Apache Tomcat - 8.5
- JSTL - 1.2.1
- Servlet API - 2.5
- MySQL - mysql-connector-java-8.0.13.jar
Step by step tutorial at https://www.javaguides.net/2019/03/login-form-using-jsp-servlet-jdbc-mysql-example.html
GitHub repository link at https://github.com/RameshMF/servlet-tutorial
YouTube video tutorial at Login Form using JSP + Servlet + JDBC + MySQL Example