Originally posted by Ashok George:
hi!
See this is just a dummy code that I have to do.there should just be a login page with text fields for login id and password.i ahve created this html page.nOW I NEED TO CONVERT THIS INTO A JSP PAGE WHERE THESE VALUES HAVE TO BE RETRIEVED AND VALIDATED AGIANST A FEW DEFAULT INPUT VALUES AND THE ABOVE GIVEN PROCESSES SHOULD BE DONE.PLease help me!
THESE VALUES HAVE TO BE RETRIEVED AND VALIDATED AGIANST A FEW DEFAULT INPUT VALUES AND THE ABOVE GIVEN PROCESSES SHOULD BE DONE
Where are these 'DEFAULT INPUT VALUES' coming from? If they are coming from a table in the databse and If you want to keep track of the number of login attempts then you may have to write the number of attempts to the database each time. Thats one way I can think of, because you are going to the DB to retrieve values anyway.
If your login credentials are in a text file or a properties file, then try writing the login attempt made to a log file each time the user tries to login, so you can keep track of the number of attemps made.
[ October 11, 2006: Message edited by: vishwanath nadimpally ]