求jsp遍历list list里面存放的是map
List list = pageDao.sub(submenu);
ArrayList<Map<String, Object>> list1 = new ArrayList<Map<String, Object>>();
Map<String, Object> maps = new HashMap<String, Object>();
for (int i = 0; i < list.size(); i++) {
maps = new java.util.HashMap<String, Object>();
maps.put(Parameters.HASHMAP, (list.get(i)));
list1.add(maps);
}
jsp
list
hashmap
------解决方案--------------------看你是怎么放menulist的,放在什么里面?