I'm developing a social networking portal using spring framework.
I have the following requirement.
A user who is willing to join this social networking portal will fill up a online form and clicks 'Submit' button. Upon clicking submit button, i need to send an email to the email id provided during registration with a link to visit. Once user sees the email, he visits the link provided and then user account is created with data provided during registration.
Now my problem is i'm unable to come with some web link that i can provide in the email upon registration.
How to form a link with user data provided in a portlet?
Where should i keep that registration data (in session or ???)
I'm not clear on how to implement this logic. Can anybody give me insight on how to implement the above mentioned logic?