refactor : 에러페이지 경로 변경

main
이범준 2 years ago
parent 1eb4afdcbe
commit 085a760914

@ -25,7 +25,7 @@
<!-- 서블릿컨네이너상의 exception에 대한 오류 페이지를 연결하는 mvc 설정 --> <!-- 서블릿컨네이너상의 exception에 대한 오류 페이지를 연결하는 mvc 설정 -->
<bean class="kr.xit.framework.core.resolver.XitExceptionResolver"> <bean class="kr.xit.framework.core.resolver.XitExceptionResolver">
<property name="defaultErrorView" value="framework/error/error.none"/> <property name="defaultErrorView" value="error/fims/error.none"/>
<property name="exceptionMappings"> <property name="exceptionMappings">
<props> <props>
<prop key="org.springframework.dao.DataAccessException">framework/egov/cmm/error/dataAccessFailure</prop> <prop key="org.springframework.dao.DataAccessException">framework/egov/cmm/error/dataAccessFailure</prop>
@ -35,7 +35,7 @@
</props> </props>
</property> </property>
<property name="ajaxErrorView"> <property name="ajaxErrorView">
<value>framework/error/error_ajax.none</value> <value>error/fims/error_ajax.none</value>
</property> </property>
<property name="xitMessageSource" ref="xitMessageSource"/> <property name="xitMessageSource" ref="xitMessageSource"/>
</bean> </bean>

@ -170,31 +170,31 @@
<error-page> <error-page>
<exception-type>java.lang.Throwable</exception-type> <exception-type>java.lang.Throwable</exception-type>
<location>/WEB-INF/jsp/framework/error/error.jsp</location> <location>/WEB-INF/jsp/error/fims/error.jsp</location>
</error-page> </error-page>
<error-page> <error-page>
<exception-type>org.springframework.web.util.NestedServletException</exception-type> <exception-type>org.springframework.web.util.NestedServletException</exception-type>
<location>/WEB-INF/jsp/framework/error/error.jsp</location> <location>/WEB-INF/jsp/error/fims/error.jsp</location>
</error-page> </error-page>
<error-page> <error-page>
<error-code>500</error-code> <error-code>500</error-code>
<location>/WEB-INF/jsp/framework/error/error.jsp</location> <location>/WEB-INF/jsp/error/fims/error.jsp</location>
</error-page> </error-page>
<error-page> <error-page>
<error-code>403</error-code> <error-code>403</error-code>
<location>/WEB-INF/jsp/framework/error/error.jsp</location> <location>/WEB-INF/jsp/error/fims/error.jsp</location>
</error-page> </error-page>
<error-page> <error-page>
<error-code>404</error-code> <error-code>404</error-code>
<!-- <location>/resources/common/error.html</location>--> <!-- <location>/resources/common/error.html</location>-->
<location>/WEB-INF/jsp/framework/error/error.jsp</location> <location>/WEB-INF/jsp/error/fims/error.jsp</location>
</error-page> </error-page>
<error-page> <error-page>
<error-code>500</error-code> <error-code>500</error-code>
<location>/WEB-INF/jsp/framework/error/error.jsp</location> <location>/WEB-INF/jsp/error/fims/error.jsp</location>
</error-page> </error-page>
<error-page> <error-page>
<error-code>901</error-code> <error-code>901</error-code>
<location>/WEB-INF/jsp/framework/error/error.jsp</location> <location>/WEB-INF/jsp/error/fims/error.jsp</location>
</error-page> </error-page>
</web-app> </web-app>

Loading…
Cancel
Save