I have designed a Registration form with the help of HTML. Here in the tage <form> I have given the action to the JSP page. (e.g. <form name="form1" action="sample.jsp">) .
I wish that the form must be directed to the next page when all the validation is successful and the user does not need to change anything on the form.