struts2+hibernate+spring配置管理(一)-配置文件2
strut2.xml
xml 代码
- "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
- "http://struts.apache.org/dtds/struts-2.0.dtd">
- <struts >
- <include file ="struts-default.xml"/>
- <package name ="default" extends ="struts-default">
- <action name="login" method="login" class="userAction">
- <result>/login_success.jspresult>
- <result name="input">/login.jspresult>
- action>
- package>
- struts>