这两天学了点freemarker的语法,并按网上说的做了测试:先写一个ftl的模版,在测试类中加载该模版,填充数据模型,最后输出在控制台。。我想知道实际项目中能派什么用场,能给我一个具体的场景最好,实在没法理解输出到控制台或者输出到文本有什么用
http://www.oschina.net/question/163220_82667?sort=default&p=1#answers
http://blog.csdn.net/fhx007/article/details/7902040
模板引擎,freemarker https://blog.stackhunter.com/2014/01/17/10-reasons-to-replace-your-jsps-with-freemarker-templates/
http://stackoverflow.com/questions/5559727/jsp-vs-freemarker