struts-default.xml 
    
    struts-plugin.xml 
    
    struts.xml 
    
    struts.properties 
    
    web.xml 
    
    
    <?xml version="1.0" encoding="GBK" ?>
    
    <!--指定struts2配置文件的DTD信息-->
    
    <!DOCTYPE struts PUBLIC 
    
    "-//apache Software Foundation//DTD Struts Configuation 2.0//EN"
    
    "http://struts.apache.org/dtds/struts-2.0.dtd">
    
    <!-- struts 是struts2配置文件的根元素-->
    
    <struts>
    
        <!--设置Struts 2应用是否使用开发模式--> 
    
    <constant name="struts.devMode" value="true"></constant>
    
    <!--每次Http请求到达时,是否重新加载资源文件-->
    
    <constant name="struts.i18n.reload" value="true"></constant>
    
    <!--struts.xml文件系统改变后,系统是否重新加载该文件-->
    
    <constant name="struts.configuration.xml.reload" value="true"></constant>
    
    <!--指定web应用的默认编码集-->
    
    <constant name="struts.i18n.encoding" value="gb2312"></constant>
    
    <!--指定所需的国际化资源-->
    
    <constant name="struts.custom.i18n.resources" value="messageResource"></constant>
    
    <!--指定需要Struts 2处理请求的后缀-->
    
    <constant name="struts.action.extension" value="jspa" />
    
    <!--struts2的Action必须放在指定的包空间下定义-->
    
    <package name="strutsqs" extends="struts-default">  
    
      <global-results>
    
       <!-- 当返回login视图名时,转入/login/login.jsp页面登录 -->   
    
       <result name="common_error">/deal/error.jsp</result>
    
      </global-results>  
    
    </package> 
    
    <include file="struts-user.xml"></include>
    
    </struts>
    
  


 
   
					 
					