Hi All,
I am trying to do small struts application.In that i have a jsp page in which user can register with name and password.He has to enter the password two times.If the two passwords entries are not same then registration will fail. failure.jsp will be shown.
In my application until this step every thing is working fine.I inserted a link to register.jsp in failure.jsp.When i am clicking on this link i can see register.jsp but the username passwords fields are not empty this time. Those are filled with previous values.
How can i get empty fields when i am redirecting to the register.jsp page.
Can anybody please tell me how to do this.
Thanks for reading this.