计算机与现代化 ›› 2011, Vol. 1 ›› Issue (3): 121-123.doi: 10.3969/j.issn.1006-2475.2011.03.034

• 应用与开发 • 上一篇    下一篇

FreeMarker模板引擎动态生成网页的应用研究

屈建明,陈 洁   

  1. 江西省计算技术研究所,江西 南昌 330002
  • 收稿日期:2010-12-15 修回日期:1900-01-01 出版日期:2011-03-18 发布日期:2011-03-18

Application and Research on Dynamic Page Generation by FreeMarker

QU Jian-ming, CHEN Jie   

  1. Jiangxi Institute of Computing Technology, Nanchang 330002, China
  • Received:2010-12-15 Revised:1900-01-01 Online:2011-03-18 Published:2011-03-18

摘要: FreeMarker是一个使用纯Java编写的模板引擎,能够基于模板生成文本输出的框架,可用来动态生成静态HTML Web网页。本文结合内容信息网页动态生成的例子,论述FreeMarker模板框架技术的功能特性,研究它在程序设计中的应用方向和方法及过程。

关键词: FreeMarker, 模板, 网页, Java

Abstract: FreeMarker is a template engine writed by pure Java, it may dynamically build text output based on template and is often designed to build static HTML page. This paper, by building content and info HTML page for example, introduces functions and characteristics of FreeMarker template and studies its application direction, method and process.

Key words: FreeMarker, template, HTML page, Java

中图分类号: