0
List<Atribute> atributes= new ArrayList<>();
atributes.add(new Atribute("aa","1"));
atributes.add(new Atribute("aa","2"));
atributes.add(new Atribute("aa","3"));
Map<String, Object> mapOne = new HashMap();
mapOne.put("ClasseName", atributes);
Map mapFreemarker = new HashMap();
mapFreemarker.put("mapFull", mapOne);
如何在freemarker中打印mapOne和屬性列表?Freemarker打印列表地圖
在freemarker中打印地圖??????????
<#list mapFull as obj>
ClasseName
aa -- 1
aa -- 2
aa -- 3
</#list>