Eclipse
전자정부프레임워크 에러페이지바꾸기
SeoHW
2018. 1. 16. 17:19
SMALL
path 는 \src\main\webapp\WEB-INF\web.xml 여기에있는 XML이구요
/code404.jsp 에 기본 전자정부 에러페이지를 주석처리후
제가만든 egovError2.jsp 페이지로 바꾸었습니다
<error-page>
<error-code>400</error-code>
<location>/egovError2.jsp</location>
<!-- /code404.jsp -->
</error-page>
<error-page>
<error-code>401</error-code>
<location>/egovError2.jsp<!-- /code404.jsp --></location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/egovError2.jsp<!-- /code404.jsp --></location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/egovError2.jsp<!-- /code404.jsp --></location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/egovError2.jsp<!-- /code500.jsp --></location>
</error-page>
LIST