java遍历request.getParameterMap()中的值
Map<String, String[]> reqMap = req.getParameterMap();
for (String key : reqMap.keySet()) {
String[] values = (String[])reqMap.get(key);
String value = "";
if (values.length > 0) {
value = values[0];
}
System.out.println("key= "+ key + " and value= " + value);
}