struts2.1.6 spring2.5.6调整
struts2.1.6 spring2.5.6整合?在struts.xml里面配置:bean?idloginService?classcom.struts2.service
struts2.1.6 spring2.5.6整合
?
在struts.xml里面配置:
<bean?id="loginService"?class="com.struts2.service.impl.LoginServiceImpl"></bean>??<bean?id="loginAction"?class="com.struts2.action.LoginAction"?scope="prototype">??????<property?name="loginService"?ref="loginService"></property>??</bean>??
?
?