struts2+hibernate+spring配置管理(一)-配置文件2

strut2.xml

xml 代码
  1.          "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"   
  2.          "http://struts.apache.org/dtds/struts-2.0.dtd">   
  3. <struts >   
  4.     <include file ="struts-default.xml"/>       
  5.        
  6.     <package name ="default" extends ="struts-default">   
  7.         <action name="login" method="login" class="userAction">  
  8.             <result>/login_success.jspresult>  
  9.             <result name="input">/login.jspresult>  
  10.         action>  
  11. package>  
  12.        
  13. struts>  
posted @ 2008-10-24 20:58  Earl_86  阅读(116)  评论(0编辑  收藏  举报