I have created a Employee form wherein details entered by the user would be sent to a jsp where all the fields are validated and sent to the 3rd jsp to display the user entered details.
My 1st jsp is GetEmpDetails.jsp : form gets displayed.
2nd jsp is ShowEmpDetails.jsp : where validations take place
3rd jsp is EmpDetails : details of the form are displayed.
All these JSPs are in Assignment7 project.
So my question is my GetEmpDetails.jsp page should get displayed using this url
and my EmpDetails.jsp page should be accessible using this url.
Can anyone please guide me iam clueless..iam new to jsp
Ulf Dittmer wrote:This seems a strange design - the validation wouldn't normally happen on a separate JSP, it would happen in Java code that's part of a backing bean or a servlet. If the data was unacceptably wrong, then you'd go back to the first JSP to have the user correct it. And only if it was valid you'd go to some other JSP.
Ya that i know..I have even designed the same way you are saying but those things apart, for now help me in my question