spring和struts 的整合

1、配置struts的子文件

 

2、配置struts的主文件

 

3、测试action

访问 http://localhost:8080/test_execute.action 能返回jsp页面,并且后台输出 saiHi() 中的内容,说明配置成功了。

下一篇:hibernate 和 spring 的整合

posted @ 2017-06-05 14:32  苦海无涯、苦尽甘来  阅读(131)  评论(0编辑  收藏  举报