143 lines
4.6 KiB
XML
143 lines
4.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<web-app id="WebApp_ID" version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
|
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
|
metadata-complete="true"
|
|
>
|
|
<display-name>egovframework.ebt</display-name>
|
|
<filter>
|
|
<filter-name>encodingFilter</filter-name>
|
|
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
|
<init-param>
|
|
<param-name>encoding</param-name>
|
|
<param-value>utf-8</param-value>
|
|
</init-param>
|
|
</filter>
|
|
<filter-mapping>
|
|
<filter-name>encodingFilter</filter-name>
|
|
<url-pattern>*.do</url-pattern>
|
|
</filter-mapping>
|
|
|
|
<!-- 템플릿 소스에서는 아래의 필터사용 대신 JSP 출력시 <c:out> 태그를 사용하는 것을 기본정책으로 한다 -->
|
|
<!-- egovframework.rte.ptl.mvc.filter.HTMLTagFilter kcc.com.cmm.filter.HTMLTagFilter-->
|
|
<!--
|
|
<filter>
|
|
<filter-name>HTMLTagFilter</filter-name>
|
|
<filter-class>egovframework.rte.ptl.mvc.filter.HTMLTagFilter</filter-class>
|
|
</filter>
|
|
<filter-mapping>
|
|
<filter-name>HTMLTagFilter</filter-name>
|
|
<url-pattern>*.do</url-pattern>
|
|
</filter-mapping>
|
|
-->
|
|
<filter>
|
|
<filter-name>cors</filter-name>
|
|
<filter-class>kcc.let.uat.uia.web.SimpleCORSFilter</filter-class>
|
|
</filter>
|
|
<filter-mapping>
|
|
<filter-name>cors</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
|
|
<!-- security start -->
|
|
<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>
|
|
|
|
<!-- 찾교시스템 SSO Valid 필터 -->
|
|
<!-- 필터 순서에 유의 -->
|
|
<filter>
|
|
<filter-name>kccadrLoginValidFilter</filter-name>
|
|
<filter-class>kcc.let.uat.uia.web.SSOValid</filter-class>
|
|
</filter>
|
|
<filter-mapping>
|
|
<filter-name>kccadrLoginValidFilter</filter-name>
|
|
<url-pattern>/web/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
|
|
<!-- site mesh -->
|
|
<filter>
|
|
<filter-name>sitemesh</filter-name>
|
|
<filter-class>
|
|
com.opensymphony.module.sitemesh.filter.PageFilter
|
|
</filter-class>
|
|
</filter>
|
|
<filter-mapping>
|
|
<filter-name>sitemesh</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
<!-- <dispatcher>INCLUDE</dispatcher>
|
|
<dispatcher>REQUEST</dispatcher> jsp에 대한 요청이 REQUEST,FORWARD 일때 sitemesh 필터를 실행한다.
|
|
<dispatcher>FORWARD</dispatcher> -->
|
|
</filter-mapping>
|
|
<!--// site mesh -->
|
|
|
|
<listener>
|
|
<listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class>
|
|
</listener>
|
|
<!-- security end -->
|
|
|
|
<!-- test File -->
|
|
<mime-mapping>
|
|
<extension>hwp</extension>
|
|
<mime-type>application/unknown</mime-type>
|
|
</mime-mapping>
|
|
|
|
<context-param>
|
|
<param-name>contextConfigLocation</param-name>
|
|
<param-value>classpath*:egovframework/spring/com/context-*.xml</param-value>
|
|
</context-param>
|
|
|
|
<listener>
|
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
</listener>
|
|
|
|
<servlet>
|
|
<servlet-name>action</servlet-name>
|
|
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
|
<init-param>
|
|
<param-name>contextConfigLocation</param-name>
|
|
<param-value>/WEB-INF/config/egovframework/springmvc/*.xml</param-value>
|
|
</init-param>
|
|
<load-on-startup>1</load-on-startup>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>action</servlet-name>
|
|
<url-pattern>*.do</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<welcome-file-list>
|
|
<welcome-file>index.jsp</welcome-file>
|
|
</welcome-file-list>
|
|
<login-config>
|
|
<auth-method>BASIC</auth-method>
|
|
</login-config>
|
|
|
|
<session-config>
|
|
<session-timeout>600</session-timeout>
|
|
<cookie-config>
|
|
<path>/offeduadvc</path>
|
|
</cookie-config>
|
|
</session-config>
|
|
|
|
<error-page>
|
|
<exception-type>java.lang.Throwable</exception-type>
|
|
<location>/common/error.jsp</location>
|
|
</error-page>
|
|
<error-page>
|
|
<error-code>404</error-code>
|
|
<location>/common/error.jsp</location>
|
|
</error-page>
|
|
<error-page>
|
|
<error-code>500</error-code>
|
|
<location>/common/error.jsp</location>
|
|
</error-page>
|
|
</web-app>
|