整合步骤:
1.导入jjar包(第一部分:spring的相关包;Struts2的相关包;第三部分:spring和struts连接的包)
2.配置web.xml文件(Struts过滤器,spring监听)
3.分别添加配置文件(struts.xml;application.xml)
4.写action 继承actionSupport
5.实例化action,在application.xml中
6.修改struts.xml文件中的class(不用再写包名,而是直接调用application.xml中bean的id)