JSP Java Tutorial

index.jsp


    
        Getting Parameter Names
    
 
    
        

Getting Parameter Names


        
            
            

            
                
                Option 2
                
                
                
            
            

            
        
    

basic.jsp


    
        Reading Parameter Names
    
    
        

Reading Parameter Names


        Parameter Names:
        

        <% java.util.Enumeration names = request.getParameterNames();
        while(names.hasMoreElements()){
            out.println(names.nextElement() + "
");
        }
        %>