본문 바로가기
프로그램/JPA

web.xml

by cbwstar 2021. 7. 2.
728x90
반응형

web.xml 환경설정

java
닫기
<?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" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_1.xsd" ‌xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_1.xsd" ‌id="WebApp_ID" version="3.1"> ‌<display-name>PortalWeb</display-name> ​​​​ ​​​​​<!-- BEGIN SETTING XENI --> ​​​​<context-param> ​​​​​​​​<param-name>export-path</param-name> ​​​​​​​​<param-value>/export</param-value> ​​​​</context-param> ​​​​<context-param> ​​​​​​​​<param-name>import-path</param-name> ​​​​​​​​<param-value>/import</param-value> ​​​​</context-param> ​​​​<context-param> ​​​​​​​​<param-name>monitor-enabled</param-name> ​​​​​​​​<param-value>true</param-value> ​​​​</context-param> ​​​​<context-param> ​​​​​​​​<param-name>monitor-cycle-time</param-name> ​​​​​​​​<param-value>30</param-value> ​​​​</context-param> ​​​​<context-param> ​​​​​​​​<param-name>file-storage-time</param-name> ​​​​​​​​<param-value>10</param-value> ​​​​</context-param> ​​​​<!-- END SETTING XENI --> ​​​​ ​<!-- ​​​​<filter> ‌‌<filter-name>sitemesh</filter-name> ‌‌<filter-class>com.opensymphony.sitemesh.webapp.SiteMeshFilter</filter-class> ‌</filter> ‌<filter-mapping> ‌‌<filter-name>sitemesh</filter-name> ‌‌<url-pattern>/*</url-pattern> ‌</filter-mapping> --> ​​​​<filter> ‌‌<filter-name>cors</filter-name> ‌‌<filter-class>egovframework.com.cmm.filter.SimpleCorsFilter</filter-class> ‌</filter> ‌<filter-mapping> ‌‌<filter-name>cors</filter-name> ‌‌<url-pattern>/*</url-pattern> ‌</filter-mapping> ‌<welcome-file-list> ‌‌<welcome-file>index.jsp</welcome-file> ‌</welcome-file-list> ​​​​​​ ‌<login-config> ‌‌<auth-method>BASIC</auth-method> ‌</login-config> ​​​​ <!-- ‌​​<context-param> ‌​​​​<param-name>spring.profiles.active</param-name> ‌​​​​<param-value>mysql,session</param-value> ‌</context-param> ​​​--> ​​​​ ​​​​<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> ‌​​​ ​​​<jsp-config> ​​​​​​​​<taglib> ‌‌‌<taglib-uri>http://www.egovframe.go.kr/tags/double-submit/jsp</taglib-uri> ‌‌‌<taglib-location>/META-INF/double-submit.tld</taglib-location> ‌‌</taglib> ​​​</jsp-config> ​​​ ‌<session-config> ​​​​​​​​<session-timeout>70</session-timeout> ​​​​​​​​<tracking-mode>COOKIE</tracking-mode> ​​​​</session-config> ‌<!-- session clustering --> ​​​<distributable/> </web-app> ​​​​
728x90
반응형

'프로그램 > JPA' 카테고리의 다른 글

전자정부 표준프레임워크 3.10  (0) 2021.07.06
jboss-web.xml  (0) 2021.07.02
logback.xml  (0) 2021.07.02
pom.xml  (0) 2021.07.02
postgre ddl  (0) 2021.07.02


"이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다."