2016年5月16日
摘要: 1.导入springmvc和freemarker的jar包 2.web.xml中配置Spring和Springmvc 3.建立ftl模板(WEB-INF/view/hello.ftl) 4.在SpringmvcIOC.xml中配置freemarker(也可以在SpringIOC.xml中配置,Spr 阅读全文
posted @ 2016-05-16 14:48 wzyy 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 2./templates/a.ftl 阅读全文
posted @ 2016-05-16 10:07 wzyy 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1.导入jar包(freemarker.jar) 2.web.xml配置一个普通servlet 3.建立一个模板文件WEB-INF/templates/test.ftl 4.Servlet控制器HelloServlet.java 阅读全文
posted @ 2016-05-16 09:58 wzyy 阅读(409) 评论(0) 推荐(1) 编辑