This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have written the following Servlet for Login Page without using MVC pattern:
Correct UserNames and Passwords are stored in MSAccess Database.
The problem is this ..when I enter wrong UserName and Password, it prints ‘Invalid UserName or Password’ many times.But I want it only once.How to overcome this problem.please help me to make correction in the code.