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