struts开发注意的问题一

     在使用Struts开始Web应用程序时,创建Formbean,其中的Action继承DispatchAction,在struts-config.xml中action的映射类型type需要手动修改为:org.springframework.web.struts.DelegatingActionProxy

 name="feedbackForm" parameter="method" path="/feedback"
 scope="request"
 type="org.springframework.web.struts.DelegatingActionProxy"
 validate="false" />
 




切记,切记。。。。。。,不然会出错的。

你可能感兴趣的:(Web,xml,struts)