标签:src 分享 term eterm alt val system 技术 png
Map<String,String[]> map = request.getParameterMap();
Set<String> keys = map.keySet(); 获取表单的name
for(String key:keys){
String[] values = request.getParameterValues(key); 获取数组型 值 因为不止单选 还有多选 干脆都用多选
for (String value:values) {
System.out.println(value);
}
}
request.getParameterMap() 也能获取动态表单的key
标签:src 分享 term eterm alt val system 技术 png
原文地址:https://www.cnblogs.com/classmethond/p/10217646.html