/Conf/web.xml modified before adding </ web-app> Code
<error-page>
<error-code>404</error-code>
<location>/error.html</location>
</error-page>
403,400 code, etc. The method is similar to add
/error.html exist in the project root directory
error.html can design their own, you can also download some error pages in Baidu.