日期:2014-05-17  浏览次数:20658 次

Freemarker生成静态HTML页面实例

生成新闻的静态文件时用到的代码.仅供参考.请根据实际情况修改.

模板:?
< html >?
< head >?
??
< title > 查看文章: $?{newsitem.title} </ title >
Freemarker生成静态HTML页面实例
</ head >
Freemarker生成静态HTML页面实例
< body >
Freemarker生成静态HTML页面实例
< table width = " 100% " border = " 0 " cellpadding = " 0 " cellspacing = " 0 " bgcolor = " #FFFFFF " >
Freemarker生成静态HTML页面实例
< tr >
Freemarker生成静态HTML页面实例
< td >
Freemarker生成静态HTML页面实例
< table width = " 95% " border = " 0 " align = "