zoukankan      html  css  js  c++  java
  • /WebRoot/WEB-INF/web.xml

    <?xml version="1.0" encoding="UTF-8"?>

    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns="http://java.sun.com/xml/ns/javaee"  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"  id="WebApp_ID" version="3.0">  

    <display-name>sfpt</display-name>  

     <!-- 加载Spring -->  

    <listener>
        <listener-class>action.TimerAction</listener-class>
     </listener>

     <listener>   <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>  </listener>

     <context-param>   

    <param-name>contextConfigLocation</param-name>  

     <param-value>classpath:applicationContext.xml</param-value>

      <!-- <param-value>classpath:applicationContext*.xml</param-value> -->

     </context-param>

     <!-- 默认项目访问首页 -->

     <welcome-file-list>   <welcome-file>index.jsp</welcome-file>  </welcome-file-list>

     <!-- 加载struts -->

     <filter>  

     <filter-name>struts2</filter-name>  

     <filter-class>org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter</filter-class>  

    </filter>  

    <filter-mapping>   

    <filter-name>struts2</filter-name>  

     <url-pattern>*.action</url-pattern>

     </filter-mapping>

    </web-app>

  • 相关阅读:
    洛谷 1736 创意吃鱼法
    有多重限制的背包
    洛谷 1417 烹调方案
    2008 noip 传纸条
    环形石子合并 洛谷 1880 && hdu 3506 Monkey Party
    洛谷 1282 多米诺骨牌
    (金明的预算方案)依赖性的背包
    分组背包问题
    混合背包问题
    多重背包问题
  • 原文地址:https://www.cnblogs.com/gaobo543013306/p/9848409.html
Copyright © 2011-2022 走看看