zoukankan      html  css  js  c++  java
  • springSecurity需要的webxml

    <?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_2_5.xsd"

    version="2.5">

        <context-param>

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

    <param-value>classpath:spring-security.xml</param-value>

     </context-param>

     <listener>

    <listener-class>

    org.springframework.web.context.ContextLoaderListener

    </listener-class>

     </listener>

     <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>

  • 相关阅读:
    webpack常见问题 收藏
    ES6 模块
    ES6 Class 类
    ES6 迭代器
    ES6 函数
    ES6 数组
    ES6 对象
    记一次pda(安卓)环境配置流程
    类型转换
    DOM事件
  • 原文地址:https://www.cnblogs.com/lijun6/p/12392608.html
Copyright © 2011-2022 走看看