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

struts,与spring调整

2012-11-01 
struts,与spring整合web.xml要配上listener-class???????? org.springframework.web.context.ContextLoa

struts,与spring整合

web.xml要配上

<listener-class>
???????? org.springframework.web.context.ContextLoaderListener
???? </listener-class>

?

然后struts.xml配上

<struts>
?<package name="dashuo" extends="struts-default">
??<action name="test" ></bean>

?

及此,整合完成,action的创建交给了spring

热点排行