您的位置:首页 > 其它

Missing message for key "index.title"

2007-05-18 21:20 453 查看

Missing message for key "index.title"

问题是找不ApplicationResources.properties
或者:Cannot find message resources under key org.apache.struts.action.MESSAGE
问题是找不ApplicationResources.properties
这个要在文件:struts-config 中设置
如:ApplicationResources.properties放在classes/book的文件下,就可以设如下:
</action-mappings>
<message-resources parameter="book/ApplicationResources"/>
</struts-config>

在web.xml中
<init-param>
<param-name>application</param-name>
<param-value>ApplicationResources</param-value>
</init-param>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐