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