出现错误的情况:
我把<a>_zh_CN.properties和<a>_en_US.properties文件放在了com.<x>.<y>包下,在struts.properties文件里这样写:struts.custom.i18n.resources=<a>。
错误:找不到资源文件。
解决方法:
1、把properties文件放到src根目录下,即可。
2、在struts.properties里这样写:struts.custom.i18n.resources=com.<x>.<y>.<a>,即可。