在运行appfuse的quick start的第三个demo时,进入主界面后的系统管理的在线用户和查看用户里面会出现中文乱码问题
| Struts 2 Basic | mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject |
详情参照http://www.blogjava.net/RhythmOfRain/archive/2007/06/29/127017.html
最简单的办法回复中提到的:
将该包中的WEB-INF/classes目录中的displaytag_zh_CN.properties使用附件中的压缩包的同名文件替换,以后使用AppFuse创建工程就不会再出现displaytag相关的乱码了,只需要注释掉web.xml中gzipFilter相关的映射
附件:http://www.blogjava.net/Files/RhythmOfRain/displaytag_zh_CN.properties.zip
浙公网安备 33010602011771号