在使用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" />
切记,切记。。。。。。,不然会出错的。
阅读(918) | 评论(0) | 转发(0) |