Answers for "string comparision in jsp"

0

string comparision in jsp

<% 
 if(request.getParameter("pass")!=null && request.getParameter("pass1")!=null){
       String passw1=(String)request.getParameter("pass");
       String passw2=(String)request.getParameter("pass1");
       if(passw1.equals(passw2)){
         //equal
       }
}
   %>
Posted by: Guest on January-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language