[web.xml] 세션시간, 에러페이지, http-method 설정
<!-- 로그인 세션 60분 x 3 = 3시간 설정 -->
<session-config>
<session-timeout>180</session-timeout>
</session-config>
<!-- 404, 500, 501 에러에대한 jsp error 페이지 설정 -->
<error-page>
<error-code>404</error-code>
<location>/WEB-INF/jsp/common/error/error404.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/WEB-INF/jsp/common/error/error404.jsp</location>
</error-page>
<error-page>
<error-code>501</error-code>
<location>/WEB-INF/jsp/common/error/error404.jsp</location>
</error-page>
<!-- http 요청 메소드 제한 설정 : DELETE, PUT, OPTIONS, TRACE, PATCH 대한 메소드 막음 -->
<security-constraint>
<web-resource-collection>
<web-resource-name>NoAccess</web-resource-name>
<url-pattern>*.do</url-pattern>
<http-method>DELETE</http-method>
<http-method>PUT</http-method>
<http-method>OPTIONS</http-method>
<http-method>TRACE</http-method>
<http-method>PATCH </http-method>
</web-resource-collection>
<auth-constraint />
</security-constraint>
<!-- index 페이지 설정 -->
<welcome-file-list>
<welcome-file>welcome.jsp</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>