java代码
List<Map<String,Object>> resultList = new ArrayList<Map<String,Object>>();
Map<String,Object> resultMap = new HashMap<String,Object>();
resultList.add(resultMap);
resultList.add(resultMap);
resultList.add(resultMap);
execl模板里代码
<jx:forEach items="${resultList}" var="resultMap">
<jx:forEach items="${resultMap.keySet()}" var="key">
${key} ${myMap.get(key)}
</jx:forEach>
</jx:forEach>
网友评论