struts validate之ApplicationResources.properties内容读取乱码

struts validate之ApplicationResources.properties内容读取乱码
JSP页面用UTF-8编码
编码过滤器设置成UTF-8编码
配置都正确,在jdk\bin目录下,用native2ascii ApplicationResources.properties ApplicationResources2.properties
结果JSP页面显示提示信息时,提示信息成了乱码。

解决办法:native2ascii -encoding UTF-8 ApplicationResources.properties ApplicationResources2.properties

感谢 http://kenshinlk.javaeye.com/blog/59080

你可能感兴趣的:(struts validate之ApplicationResources.properties内容读取乱码)