Actually the problem is,
Already i have the data in the file
data.txt
Email-id:
abc@yahoo.com name: abc
password: passwd
Email-id: xxxx
name: xxx
password: xxxx
and so on..
and (this data first stored in map and then by using iterator i stored in file) here email-id is the key in the map . Customer already logged into this customerservice page,In customerservice page there is one link called change profile. So In this change profile page i want i identify that email-id. So that using that email id i can change the profile of that customer.