您的位置:首页 > 运维架构 > Apache

解决:Cannot find message resources under key org.apache.struts.action.MESSAGE的 方法

2008-11-10 15:06 423 查看
使用struts的tag 的时候,当对象的属性值为long的时候,会报出如下的错误:

java 代码

org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)

查找了很多资料,解决的方法非常有意思,在struts-config.xml中添加如下的配置:

xml 代码

<message-resources parameter="ApplicationResources"/>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐