Sturts 1.3 bean write int类型输出异常解决方法
Sturts 1.3 bean write int类型输出异常解决方法
问题描述
logic:iterator遍历list中包含了有int属性类型的javabean
异常描述
javax.servlet.jsp.JspException Cannot find message resources under key org.apache.struts.action.MESSAGE
org.apache.jasper.JasperException: An exception occurred processing JSP page /display.jsp at line 17
正好是bean:write显示int类型的位置
解决方法1:
在struts-config.xml文件中加入
解决方法2:
还没有评论,来说两句吧...