Velocity:文本模板渲染 public String getTemplateStr(String template, Map<String, String> para) { StringWriter writer = new StringWriter(); try { RuntimeServices runtimeServices = RuntimeSingleton.getRuntimeServices();… 更多
Velocity遍历hashtable输出key和value #foreach($key in $yygldwlx.keySet()) key:$!key —>$!yygldwlx.get(“$!key”) #end… 更多