首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

struts学习札记

2012-07-02 
struts学习笔记http://downpour.iteye.com/blog/310091 ---忘记李刚http://www.blogjava.net/max/category

struts学习笔记
http://downpour.iteye.com/blog/310091 ---忘记李刚

http://www.blogjava.net/max/category/16130.html  --struts2.0系列


Struts与Spring整合的几种方法http://downpour.iteye.com/blog/24239
1、
编写Spring的配置文件applicationContext.xml,简单起见,仅仅定义一个Service对象
struts配置文件中<controller processor/>
action 为Service对象提高get/set方法
ActionSupport 类提供了一个 getWebApplicationContext() 方法

DelegatingRequestProcessor 类来覆盖 Struts 的 RequestProcessor

<action    path="/searchSubmit"
             type="org.springframework.web.struts.DelegatingActionProxy" |(1)


热点排行