摘要: 让spring代替struts2生成Actionstruts2中提供了一个与spring进行集成的包,位于struts2 的lib下,叫做struts2-spring-plugin.jar。复制到当前目录的WEB-INF/lib下,然后配置struts.xml和applicationContext.xml(1)在struts.xml的<action>配置中使用class属性指向Spring的<bean>元素: <action name="login" class="loginAction" > <result n 阅读全文
posted @ 2012-11-21 14:11 人生如若初见 阅读(327) 评论(0) 推荐(0) 编辑