JSP Java

//File: index.html

    
        Using Password Controls
    
 
    
        

Using Password Controls


        
            Please enter your password:
            
            

            
        
    

//File: formAction.jsp

    
        Reading Password Controls
    
    
        

Reading Password Controls


        <% 
        if(request.getParameter("password").equals("Open Sesame")) {
            out.println("You're in!"); 
        } 
        else {
            out.println("I don't think so!"); 
        } 
        %>
    

           
       
UsingPasswordControlsJsp.zip( 89 k)