freemarker 底层
public void test1() throws IOException, TemplateException {
//1.模板
//(1)创建freemarker对象---创建配置对象,并指定freemarker的版本
Configuration cfg = new Configuration(Configuration.VERSION_2_3_23);
//(2)找到指定的模板文件---指定模板文件从何处加载的数据源,这
原创
2020-10-27 22:04:08 ·
133 阅读 ·
0 评论