工业级运维app手机api
沈斌
2017-11-02 b33acb38838b2c202e6e0c626a9625a19592c5bf
src/main/webapp/WEB-INF/web.xml
@@ -17,7 +17,7 @@
    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    <init-param>
      <param-name>contextConfigLocation</param-name>
      <param-value>classpath:application.xml</param-value>
      <param-value>classpath:spring/application.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
@@ -46,6 +46,10 @@
      <param-name>encoding</param-name>
      <param-value>utf-8</param-value>
    </init-param>
    <init-param>
      <param-name>forceEncoding</param-name>
      <param-value>true</param-value>
    </init-param>
  </filter>
  <filter-mapping>
@@ -72,5 +76,13 @@
    <url-pattern>/*</url-pattern>
  </filter-mapping>
   <!--<filter>-->
      <!--<filter-name>springSecurityFilterChain</filter-name>-->
      <!--<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>-->
   <!--</filter>-->
   <!--<filter-mapping>-->
      <!--<filter-name>springSecurityFilterChain</filter-name>-->
      <!--<url-pattern>/*</url-pattern>-->
   <!--</filter-mapping>-->
</web-app>