要遍历的java代码
List<Map<String, Object>> listMap=new ArrayList<Map<String,Object>>();
Map<String, Object> map=new HashMap<String, Object>();
map.put("aa", "aaa");
map.put("bb", "bbb");
listMap.add(map);
前台代码
<#list listMap! as map>
<#list map?keys as keystr>
<option value="${keystr}">${map[keystr]}</option>
</#list>
</#list>