Skip to content

Commit

Permalink
handle excepions in web.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
leleuj committed Aug 11, 2016
1 parent f590d0f commit 17caceb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/webapp/WEB-INF/web.xml
Expand Up @@ -51,4 +51,9 @@
<error-code>500</error-code>
<location>/error500.jsp</location>
</error-page>

<error-page>
<exception-type>java.lang.Exception</exception-type >
<location>/error500.jsp</location>
</error-page>
</web-app>

0 comments on commit 17caceb

Please sign in to comment.