The usual HTTP access exception contains 404 Not Found and 500 INTERNAL ERROR, in order to provide users more friendly display, you can do the following configuration:
404 ERROR-CODE>
/common/404.jsp location>
Error-Page>
500 ERROR-CODE>
/common/500.jsp location>
Error-Page>
web-app>
By configuring, when the user accesses the page does not exist in the application, the user will guide the user to the /common/404.jsp page. Similarly, when an abnormal error occurs, /common/500.jsp is displayed to the user.