max大哥,<s:property value="%{getText('HelloWorld')}" />怎么显示的是空的阿?
struts.custom.i18n.resources=globalMessages
这个也是没有问题的阿
而且还报下面的错误
DEBUG 2008-06-18 16:49:22.718 [freemark] (): Could not find template in cache, creating new one; id=[template/xhtml/text.ftl[zh_CN,UTF-8,parsed] ]
DEBUG 2008-06-18 16:49:22.812 [freemark] (): Compiling FreeMarker template template/xhtml/text.ftl[zh_CN,UTF-8,parsed] from jar:file:/D:/Program%20Files/apache-tomcat-5.5.26/webapps/struts2HelloWorld/WEB-INF/lib/struts2-core-2.0.9.jar!/template/xhtml/text.ftl
DEBUG 2008-06-18 16:49:23.843 [freemark] (): Could not find template in cache, creating new one; id=[template/xhtml/controlheader.ftl[zh_CN,UTF-8,parsed] ]
DEBUG 2008-06-18 16:49:23.875 [freemark] (): Compiling FreeMarker template template/xhtml/controlheader.ftl[zh_CN,UTF-8,parsed] from jar:file:/D:/Program%20Files/apache-tomcat-5.5.26/webapps/struts2HelloWorld/WEB-INF/lib/struts2-core-2.0.9.jar!/template/xhtml/controlheader.ftl
DEBUG 2008-06-18 16:49:24.671 [freemark] (): Could not find template in cache, creating new one; id=[template/xhtml/controlheader-core.ftl[zh_CN,UTF-8,parsed] ]
DEBUG 2008-06-18 16:49:24.703 [freemark] (): Compiling FreeMarker template template/xhtml/controlheader-core.ftl[zh_CN,UTF-8,parsed] from jar:file:/D:/Program%20Files/apache-tomcat-5.5.26/webapps/struts2HelloWorld/WEB-INF/lib/struts2-core-2.0.9.jar!/template/xhtml/controlheader-core.ftl
DEBUG 2008-06-18 16:49:25.000 [freemark] (): Could not find template in cache, creating new one; id=[template/xhtml/tooltip.ftl[zh_CN,UTF-8,parsed] ]
DEBUG 2008-06-18 16:49:25.031 [freemark] (): Compiling FreeMarker template template/xhtml/tooltip.ftl[zh_CN,UTF-8,parsed] from jar:file:/D:/Program%20Files/apache-tomcat-5.5.26/webapps/struts2HelloWorld/WEB-INF/lib/struts2-core-2.0.9.jar!/template/xhtml/tooltip.ftl
DEBUG 2008-06-18 16:49:25.078 [freemark] (): Could not find template in cache, creating new one; id=[template/simple/text.ftl[zh_CN,UTF-8,parsed] ]
DEBUG 2008-06-18 16:49:25.093 [freemark] (): Compiling FreeMarker template template/simple/text.ftl[zh_CN,UTF-8,parsed] from jar:file:/D:/Program%20Files/apache-tomcat-5.5.26/webapps/struts2HelloWorld/WEB-INF/lib/struts2-core-2.0.9.jar!/template/simple/text.ftl
DEBUG 2008-06-18 16:49:25.500 [freemark] (): Could not find template in cache, creating new one; id=[template/simple/scripting-events.ftl[zh_CN,UTF-8,parsed] ]
DEBUG 2008-06-18 16:49:25.515 [freemark] (): Compiling FreeMarker template template/simple/scripting-events.ftl[zh_CN,UTF-8,parsed] from jar:file:/D:/Program%20Files/apache-tomcat-5.5.26/webapps/struts2HelloWorld/WEB-INF/lib/struts2-core-2.0.9.jar!/template/simple/scripting-events.ftl
DEBUG 2008-06-18 16:49:25.531 [freemark] (): Could not find template in cache, creating new one; id=[template/simple/common-attributes.ftl[zh_CN,UTF-8,parsed] ]
DEBUG 2008-06-18 16:49:25.578 [freemark] (): Compiling FreeMarker template template/simple/common-attributes.ftl[zh_CN,UTF-8,parsed] from jar:file:/D:/Program%20Files/apache-tomcat-5.5.26/webapps/struts2HelloWorld/WEB-INF/lib/struts2-core-2.0.9.jar!/template/simple/common-attributes.ftl
DEBUG 2008-06-18 16:49:25.593 [freemark] (): Could not find template in cache, creating new one; id=[template/xhtml/controlfooter.ftl[zh_CN,UTF-8,parsed] ]
DEBUG 2008-06-18 16:49:25.609 [freemark] (): Compiling FreeMarker template template/xhtml/controlfooter.ftl[zh_CN,UTF-8,parsed] from jar:file:/D:/Program%20Files/apache-tomcat-5.5.26/webapps/struts2HelloWorld/WEB-INF/lib/struts2-core-2.0.9.jar!/template/xhtml/controlfooter.ftl
回复 更多评论