freemarker遍历java.util.Properties
java.util.Properties类 学习笔记
http://trans.blog.51cto.com/503170/110227/
FreeMarker代码
<#list systemPro.keySet() as key> <tr> <td>${key}</td> <td>${systemPro.get(key)}</td> </tr> </#list>
java代码
// 获取系统信息 Properties systemPro = System.getProperties(); setAttr("systemPro", systemPro);