摘要:
FreeMarker(三)简单使用 FreeMarker(三)简单使用 本文将使用上篇文章的第二种方式编写实例: 准备:freemarker.jar,Test.class,template.html(放在项目下的template文件夹下) template.html Test.java 生成的suc 阅读全文
摘要:
FreeMarker(二)模板加载 Freemarker使用freemarker.template.Configuration类进行模板加载,有3种设置模板存放路径的方法。分别是: (1)类路径 public void setClassForTemplateLoading(Class resourc 阅读全文
摘要:
FreeMarker(一)初识 阅读全文