解决: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"/>
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"/>
相关文章推荐
- cannot find message resources under key org.apache.struts.action.message 问题解决
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- Cannot find message resources under key org.apache.struts.action.MESSAGE的错误
- 在做成绩查询时出现Cannot find message resources under key org.apache.struts.action.MESSAGE
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- 新建个项目,显示long类型字段的时候报错:Cannot find message resources under key org.apache.struts.action.MESSAGE
- javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action...
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- Struts Cannot find message resources under key org.apache.struts.action.MESSAGE
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- 使用struts的tag ,当对象的属性值为long的时候:org.apache.jasper.JasperException: Cannot find message resources under
- org.apache.struts.action.ActionMessage cannot be cast to org.apache.struts.action.ActionError
- Cannot find bean under name org.apache.struts.taglib.html.BEAN
- java.lang.ClassCastException: org.apache.struts.action.RequestProcessor解决方法!
- java开源框架集成常见错误之Cannot find bean under name org.apache.struts.taglib.html.BEAN
- java开源框架集成常见错误之Cannot find bean under name org.apache.struts.taglib.html.BEAN