Spring整合Struts2

spring整合Struts2,使得struts的action从spring中获取。

login.jsp

 

result.jsp

 

web.xml

 

struts.xml

 

applicationContext.xml

 

 

 

 

详细文件:

http://lukuijun.javaeye.com/blog/350750

http://www.ibm.com/developerworks/cn/java/j-sr2.html

http://mzhj.javaeye.com/blog/752653

上面的可以测试通过。

http://localhost:8080/Spring_Struts2/

其中的包自己下载即可。

原文地址:https://www.cnblogs.com/hehehaha/p/6332548.html