Let us know, what you have not understand from the requirement.
Pritam Chatterjee wrote:i want to make forget password page using jsp where when the user will enter his/her email-id one mail will be forwarded to that mail-id with login details. I can't understand how to do it..please help me out..
What is the specific problem? What are you not able to understand?
Pritam Chatterjee wrote:Suggest me a good tutorial for java mail api where i can learn from begining
Visit this link: http://www.roseindia.net/javamail/
for your requirements you have to implement in many ways using some security features.
For sending details wen can use java mail API
For validation the details you can provide security features like security question and etc..
First see the pages in from google,and yahoo how theyare implemented this mechanism.