<error-page>
<error-code>400</error-code>
<location>/king.html</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/king.html</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/king.html</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/king.html</location>
</error-page>
<error-page>
<exception-type>java.lang.NullPointerException </exception-type>
<location>/king.html</location>
</error-page>
<error-page>
<exception-type>javax.servlet.ServletException</exception-type>
<location>/king.html</location>
</error-page>