文章列表
Webwork2中,可以在FTL模板中使用GBK编码,然后用UTF-8输出
webwork.properties
webwork.il8n.encoding = UTF-8
freemarket.properties
default_encoding = UTF-8
welcome.ftl
<#ftl attributes={"content_type":"text/html; charset=UTF-8"}>
在Struts2中,FTL模板中的<#ftl转换标签好像不起作用了,尝试修改 freemarketResult.j ...