i am working on my first web based project.so i m using simple
servlets,
jsp and html.
when a user logins ,he needs to provide a unique userid and password which is stored in db(mysql).
if the user entries a wrong password lets say 2 times and in third attempt he enters a different userid and again enters the wrong password then it should not block.
so three chances should be given to a particular userid.
suggest me the code.