标签:获取 item bat ati alt key 循环 class value
一、循环key
<foreach collection="map.keys" item="key" separator="and">
${key} = #{key}
</foreach>
二、循环values
<foreach collection="map.values" item="value" separator="and">
${value} = #{value}
</foreach>
三、循环获取key和值:
<foreach collection="map.keys" item="key" separator="and">
${key} = ${map[key]}
</foreach>
标签:获取 item bat ati alt key 循环 class value
原文地址:http://www.cnblogs.com/fqfanqi/p/7291733.html