我有一个以下的哈希表
HashMap<String, String> map = new HashMap<String, String>();
map.put("one", "1");
map.put("two", "2");
map.put("three", "3");
Map root = new HashMap();
root.put("hello", map);
我的Freemarker模板是:
<html><body>
<#list hello?keys as key>
${key} = ${hello[key]}
</#list>
</body></html>
我的目标是在我生成的HTML中显示键值对。请帮助我完成它。谢谢!