怎么取得checkbox中的多个值啊?
我用request.getParameterValues() 
 取不到啊 
 请高手们指教一下 
 谢谢!!!
------解决方案--------------------可以的,前提是checkbox要选中 
 下面的代码获取请求中的所有参数和值   
 Enumeration enum = req.getParameterNames(); 
 for (; enum.hasMoreElements(); ) { 
             // Get the name of the request parameter 
             name = (String)enum.nextElement(); 
             out.println(name);       
             // Get the value of the request parameter 
             value = req.getParameter(name);       
             // If the request parameter can appear more than once in the query string, get all values 
             String[] values = req.getParameterValues(name);       
             for (int i=0; i <values.length; i++) { 
                 out.println( "     "+values[i]); 
             } 
         }
------解决方案--------------------你是在什么地方中取? 
   如果是在JAVA中取的话,必须保证checkbox在form中,而且有选中的checkbox
------解决方案--------------------request.getParameterValues()是可以的
------解决方案--------------------如果你全选会做的话   
 直接这样就行  String num[]=request.getParameterValues( "aa ")