![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring整合struts2
文章平均质量分 60
qq_36472439
奋发图强吧
展开
-
Spring整合struts ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to sta
Spring整合struts 报错:ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to sta 我的是Spring的版本和spring-web.xml的版本不一致出的问题 改为和Spring同一个版本就行了 就是配置文件中的这个地方 http://www.spring原创 2017-09-14 17:12:59 · 1459 阅读 · 0 评论 -
Spring整合Struts2
获取Session两种方式 (1)ActionContext:在Struts2中代表当前Struts2中环境相关信息 能够获取所有的相关信息 Map类型的session不依赖于Servlet API HttpSession 与Servlet API耦合性低 就可以进行与容器无关的测试 Servlet不能进行离线测试(Junit测试) 离线:脱离web容器单独使用,比如进行Junit测原创 2017-09-14 22:41:40 · 210 阅读 · 0 评论