shenang博客技术文档


理论不懂就实践,实践不会就学理论!

posts - 35,comments - 55,trackbacks - 0
技术整合
struts2+spring2+ibates      摘要: 整合步骤总结:
1、分别导入三个框架需要的包。
2、写pojo.
3、配置web.xml (分别配置sping,struts)
4、写sping的application和applicationservices或者其它配置.(可对些文件分为其它文件,在web.xml中注册即可)
5、配置struts.xml
  阅读全文
posted @ 2009-04-10 11:24 重庆理工小子 阅读(735) | 评论 (0)  编辑
整合Spring2.0 +struts2.0      摘要: 整合共有三种方法:

使用 Spring 的ActionSupport类整合 Structs

使用 Spring 的DelegatingRequestProcessor

覆盖 Struts 的RequestProcessor 将 Struts Action管理委托给 Spring 框架

  阅读全文
posted @ 2009-03-25 16:11 重庆理工小子 阅读(692) | 评论 (3)  编辑
整合spring2.0+ibatis      摘要: 学习了一段时间的Spring了,感觉对于Spring的理解还是不够深刻,还有太多的地方需要学习,因为前段时间学过ibatis和struts,在网上也看到很多关于三者整合的文章,下面是我自己写的一个关于sping和ibatis整合的一个案例
  阅读全文
posted @ 2009-03-25 11:52 重庆理工小子 阅读(583) | 评论 (0)  编辑