First step :-
WEB-INF/jsp/index.jsp is called where I put firstname, lastname,it stored in a bean “User”.Then through controller it goes to a
jsp named “result.jsp”,there I set firstname, lastname in two session attributes , and redirect for another form name “form.jsp. (firstname,lastname will be required at the last of the project )
Second step:-
I put credential and password in WEB-INF/jsp/form.jsp , it stored in a bean “User1”.After that it goes to page “result1.jsp”, here I set these field in to session attributes and redirect to another for another form name “editform.jsp”.
Third step:-
In “editform.jsp” I put values for same field credential and password.I have set a validator for this form where I want to check that the value come from editform.jsp and
the value previously stored into User1 is same or not .If the values are same then I will proceed further