Forgot Password Screen our web application allows the user, to request for their forgotten password. Program sends the password to the if it exists in the database.
User's password is retrieved from database and then using mailer bean mail is sent to the user.
When user clicks on the Forgot Password link, the "Access Your Username and password" screen is displayed. With the help of this screen user can retrieve their password.
Forgot Password Screen:
If the user enters wrong username or email address, then system displays the error message. Here is the screen shot of the page:
If the user enters the valid username or email address then email containing his/her password is sent on his email id.
Valid User id:
Email is sent and then following confirmation page is displayed.
Email Received by user:
Recommend the tutorial