用Iterator it2 = map.keySet().iterator();这个取到的值怎么在jsp页面中获取
while(it.hasNext()){Mapmap=(Map)it.next();Iteratorit2=map.keySet().iterator();while(i...
while(it.hasNext()){
Map map = (Map)it.next();
Iterator it2 = map.keySet().iterator();
while(it2.hasNext()){
String key = it2.next().toString();
String value = map.get(key).toString();
System.out.println("key = " + key + " value = " + value);
}
} 展开
Map map = (Map)it.next();
Iterator it2 = map.keySet().iterator();
while(it2.hasNext()){
String key = it2.next().toString();
String value = map.get(key).toString();
System.out.println("key = " + key + " value = " + value);
}
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询