struts2 国际化资源文件自定义的路径解决方法

struts2 的版本2.3.4

 

 <!-- 配置国际化资源路径 -->

    <constant name="struts.custom.i18n.resources" value="com.config.resources.ApplicationResources"/>

 

 我将资源路径放置在

 

com.config.resources包下文件

ApplicationResources_en_US.properties
ApplicationResources_zh_CN.properties

 

 

posted on 2012-10-31 20:21  gongwei911  阅读(2021)  评论(0编辑  收藏  举报

导航