Spring 整和Struts

来源:互联网 发布:硬盘加密软件下载 编辑:程序博客网 时间:2024/05/27 20:03

方法一:

stuts-config.xml 中

  action 的type 赋值为org.springframework.web.struts.DelegatingActionProxy 

方法二:

  stuts-config.xml 中 添加

    <controller>
        
<set-property property="processorClass"
            value
="org.springframework.web.struts.DelegatingRequestProcessor" />
    
</controller>
原创粉丝点击