1 <%
2 if(request.getParameter("pass")!=null && request.getParameter("pass1")!=null){
3 String passw1=(String)request.getParameter("pass");
4 String passw2=(String)request.getParameter("pass1");
5 if(passw1.equals(passw2)){
6 //equal
7 }
8}
9 %>
10