Changes from Version 1 of web-xml

차이점 주위로
다음 차이점은 무시하기:
작성자:
anonymous (IP: 122.101.191.254)
날짜/시간:
2012-01-17 PM 1:11:12 (14 년 전)
설명:

--

Legend:

변경되지 않음
추가됨
제거됨
변경됨
  • web-xml

    v0 v1  
     1--anyframe 
     2{{{ 
     3<?xml version="1.0" encoding="utf-8"?> 
     4<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
     5                xmlns="http://java.sun.com/xml/ns/javaee"  
     6                xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
     7                xsi:schemaLocation="http://java.sun.com/xml/ns/javaee  
     8                                                  http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"  
     9                id="WebApp_ID" version="2.5"> 
     10    <display-name>sample-web</display-name> 
     11<!--core-configuration-START--> 
     12    <context-param> 
     13        <param-name>contextConfigLocation</param-name> 
     14        <param-value>classpath:/spring/context-*.xml</param-value> 
     15    </context-param> 
     16    <filter> 
     17        <filter-name>encodingFilter</filter-name> 
     18        <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> 
     19        <init-param> 
     20            <param-name>encoding</param-name> 
     21            <param-value>utf-8</param-value> 
     22        </init-param> 
     23    </filter> 
     24    <filter-mapping> 
     25        <filter-name>encodingFilter</filter-name> 
     26        <url-pattern>/*</url-pattern> 
     27    </filter-mapping> 
     28    <listener> 
     29        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> 
     30    </listener> 
     31    <servlet> 
     32        <servlet-name>action</servlet-name> 
     33        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> 
     34        <init-param> 
     35            <param-name>contextConfigLocation</param-name> 
     36            <param-value>classpath:/spring/*-servlet.xml</param-value> 
     37        </init-param> 
     38        <load-on-startup>1</load-on-startup> 
     39    </servlet> 
     40    <servlet-mapping> 
     41        <servlet-name>action</servlet-name> 
     42        <url-pattern>*.do</url-pattern> 
     43    </servlet-mapping> 
     44    <welcome-file-list> 
     45        <welcome-file>/anyframe.jsp</welcome-file> 
     46    </welcome-file-list> 
     47<!--core-configuration-END--> 
     48<!--Add new configuration here--> 
     49    <login-config> 
     50        <auth-method>BASIC</auth-method> 
     51    </login-config> 
     52</web-app> 
     53 
     54}}}