<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<s:head />
</head>
<body>
<table border="1">
<s:iterator value="dataMap.keySet()" id="class">
<s:iterator value="dataMap.get(#class).keySet()" id="group">
<tr>
<td><s:property value="group"/></td>
<s:iterator value="dataMap.get(#class).get(#group).values()" id="name">
<td><s:property value="name"/></td>
</s:iterator>
</tr>
</s:iterator>
</s:iterator>
</table>
</body>
</html>
struts2使用iterator标签显示嵌套Map - 云自无心水自闲 - BlogJava,布布扣,bubuko.com