Gayathri Gayu wrote:I am trying with the following code. For sending mail. But I don't know how will i link this with my web.xml. How will I generate the hash code?
Why do you want to link with web.xml? That's a configuration file for server.
Swastik Dey wrote:
Gayathri Gayu wrote: Or any idea about generate a key (GUID)?
give the path?
[Domain Name]/user/[user-id]/activate/[some 32 characters hash code]
and how the token id will get generated.
Here i have to either insert or update the record.
save a record in the table I mentioned above with tokenid,emailid,and current datetime.