Add redirection to error404 page in case of error 400, 403, 405

This commit is contained in:
Sofia Baltzi 2018-06-11 11:38:46 +00:00
parent bc3aa8082a
commit 654dd85a2a
1 changed files with 15 additions and 0 deletions

View File

@ -194,9 +194,24 @@
<location>/error.jsp</location>
</error-page>
<error-page>
<error-code>400</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error404.jsp</location>
</error-page>
<error-page>
<error-code>405</error-code>
<location>/error.jsp</location>
</error-page>
</web-app>