Cannot find message resources under key org.apache.struts.action.MESSAGE
来源:互联网 发布:企鹅聊天软件 编辑:程序博客网 时间:2024/06/08 02:57
在JSP中 logic:iterate标签中循环显示查询的内容,报错:
Cannot find message resources under key org.apache.struts.action.MESSAGE
错误位置:
<logic:iterate id="lesson" name="lessonQuery" type="com.lcy.tionForm.LessonForm" scope="request"> <tr> <td align="center"><bean:write name="lesson" property="ID" filter="true"/></td> <td style="padding:5px;" align="center"><bean:write name="lesson" property="name" filter="true"/></td><td align="center"><html:link page="/manage/lesson.do?action=lessonModifyQuery" paramId="id" paramName="lesson" paramProperty="ID">修改</html:link></td> <td align="center"><html:multibox property="delIdArray" styleClass="noborder"><bean:write name="lesson" property="ID"/></html:multibox></td> </tr>
运行显示第四行bean:write报错
解决办法:
1 在src文件夹下新建一个文件ApplicationResources.properties
2 在struts-config.xml文件中</struts-config>之前加入:
<message-resources parameter="ApplicationResources"/>
0 0
- Struts 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
- 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
- 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
- 新建个项目,显示long类型字段的时候报错:Cannot find message resources under key org.apache.struts.action.MESSAGE
- 使用struts的tag ,当对象的属性值为long的时候:org.apache.jasper.JasperException: Cannot find message resources under
- Struts Message Resources
- Android内存优化利器:MAT打开内存Bitmap(Windows版本)
- Problem 2191 完美的数字
- Eclipse中查看Java源代码的方法及一些注意事项
- Python+Selenium中级篇之6-Python获取系统时间和格式化时间显示
- Maven 中央仓库地址:
- Cannot find message resources under key org.apache.struts.action.MESSAGE
- Programming Language Preference—Selenium WebDriver
- HTML入门
- Redis-List
- 正整数分组
- Object-Oriented Analysis and Design Using UML 翻译与学习 (M-C)
- 217. Contains Duplicate
- show index from table_name返回列解释
- Problem 2193 So Hard