Struts2 Struts 2多个资源包中的多个键[如何]
我正在使用 struts.custom.i18n.resources=file1,file2 文件1 enter.user=用户名 文件2 enter.user=用户名1Struts2 Struts 2多个资源包中的多个键[如何],struts2,struts,Struts2,Struts,我正在使用 struts.custom.i18n.resources=file1,file2 文件1 enter.user=用户名 文件2 enter.user=用户名1 enter.user的输出是什么?它与您在struts.custom.i18n.resources属性中写入资源的顺序有关 最后一个“赢” 现在你有了 struts.custom.i18n.resources=file1,file2 file2是最后一个,因此file2获胜,输出为“User name1” 如果你有 stru
enter.user的输出是什么?它与您在struts.custom.i18n.resources属性中写入资源的顺序有关 最后一个“赢” 现在你有了
struts.custom.i18n.resources=file1,file2
file2是最后一个,因此file2获胜,输出为“User name1”
如果你有
struts.custom.i18n.resources=file2,file1
文件1将是最后一个,因此输出为“用户名”