Cannot retrieve definition for form bean null on action错误

Cannot retrieve definition for form bean null on action错误

 

1、

 如果jsp页面中要用到<html:form action="" id="abcForm"></html:form>标签的话,务必得创建它的<form-bean name="abcForm" >  

否则就会提示Cannot retrieve mapping for action这个错误。

 

2、

<action name="abcForm" path="/openacco" type="org.springframework.web.struts.DelegatingActionProxy" parameter="method" validate="false" scope="request">

 

parameter属性的使用,如果action中定义了,则页面中必须要存在method参数。

 

 

 

posted @ 2013-06-25 21:04  Aaron li  阅读(618)  评论(0编辑  收藏  举报