struts2
错误信息:
Struts has detected an unhandled exception:
Messages: Property 'InfoTitle' not found on type com.hnweb.model.Information
An exception occurred processing JSP page /WEB-INF/pages/InformationList.jsp at line 20 17: 18: 19: 20: ${informationBean.InfoTitle } 21: 22: ${ss } 23: Stacktrace:
File: javax/el/BeanELResolver.java
Line number: 193
解决办法:
在jsp页面中字段name应该写infoTitle而不是InfoTitle
第一个字母大小写由第2个字母决定!!!
阅读(2290) | 评论(0) | 转发(0) |