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

javax.servlet.jsp.JspException: No getter method for property requestId of bean org.apache.struts.ta

2012-03-29 16:25 639 查看

500 Servlet Exception

javax.servlet.jsp.JspException: No getter method for property requestId of bean
org.apache.struts.taglib.html.BEAN

没有为form bean中的requestId变量定义getter方法。[code]这个错误主要发生在表单提交的FormBean中,用struts标记<html:hidden property="requestId"/>时,在FormBean中必须有一个getRequestId()方法。注意字母“R”。

在ReqReportForm中添加getRequestId()方法即可。
[/code]

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