I'm working on a login that verifies the username/password against a Oracle database via a
jdbc connection. I have a page that the application forwards to when the login entered is correct and a page that it forwards to when the login is incorrect. Problem is no matter what username/password that is put in it forwards to the correct login page.
Any help is greatly appreciated. Here is my code:
My login form index.jsp
Correct login page userLogged.jsp
Incorrect login page invalidLogin.jsp
LoginServlet.java
UserDAO.java
UserBean.java
ConnectionManager.java