國際化問題,高分請教
我现在有三个文件
ApplicationMessageResources_zh_CN.properties
2。ApplicationMessageResources_zh_TW.properties
3。ApplicationMessageResources.properties
都通过native2ascii编译好了,请问一下我还对web.xml和struts-config.xml设置什么吗,
我看见struts-config.xml里有
<message-resources
parameter="org.apache.struts.webapp.example.ApplicationResources"/>
<message-resources
parameter="org.apache.struts.webapp.example.AlternateApplicationResources"
key="alternate">
</message-resources>
这样配置有什么用,就这样就行了吗
对了,还有,那些propertes文件的命名必须是固定的吗,不能根据自己的方式来命名吗,