Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
       }
}
   %>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #comparision #jsp
ADD COMMENT
Topic
Name
4+2 =