技術整合
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 重慶理工小子 閱讀(744) |
評論 (0) 編輯
整合Spring2.0 +struts2.0
摘要: 整合共有三種方法:
使用 Spring 的ActionSupport類整合 Structs
使用 Spring 的DelegatingRequestProcessor
覆蓋 Struts 的RequestProcessor 將 Struts Action管理委托給 Spring 框架
閱讀全文
posted @
2009-03-25 16:11 重慶理工小子 閱讀(702) |
評論 (3) 編輯
整合spring2.0+ibatis
摘要: 學習了一段時間的Spring了,感覺對于Spring的理解還是不夠深刻,還有太多的地方需要學習,因為前段時間學過ibatis和struts,在網上也看到很多關于三者整合的文章,下面是我自己寫的一個關于sping和ibatis整合的一個案例
閱讀全文
posted @
2009-03-25 11:52 重慶理工小子 閱讀(591) |
評論 (0) 編輯