username « Login « JSP-Servlet Q&A

1. login page enter correct username and password

The login page displays an error message indicating failure to login, even when the correct username and password combination is entered. What is the cause of this problem?

try {
Connection conn = ...

3. JSP login: username and password getting default values

Hello friends , I prepared a login page using JSP which should accept username and password each time user logins but the following code accepts username and password only one (in beginning) and the other time i execute the code it displays the value i entered earlier. Here's the code <%@ ...