[Html]
<Error-page>
<Error-code> 403 </error-code>
<Location>/noPermission. jsp </location>
</Error-page>
<Error-page>
<Error-code> 404 </error-code>
<Location>/noFound. jsp </location>
</Error-page>
<Error-page>
<Error-code> 500 </error-code>
<Location>/serverError. jsp </location>
</Error-page>
<! -- Java. lang. Exception: Exception error. Based on this tag, multiple similar error prompts can be defined. -->
<Error-page>
<Exception-type> java. lang. Exception </exception-type>
<Location>/serverError. jsp </location>
</Error-page>
<! -- Java. lang. NullPointerException Exception error. Based on this tag, you can define multiple similar error prompts -->
<Error-page>
<Exception-type> java. lang. NullPointerException </exception-type>
<Location>/serverError. jsp </location>
</Error-page>
<Error-page>
<Exception-type> javax. servlet. ServletException </exception-type>
<Location>/serverError. jsp </location>
</Error-page>
<Error-page>
<Error-code> 403 </error-code>
<Location>/noPermission. jsp </location>
</Error-page>
<Error-page>
<Error-code> 404 </error-code>
<Location>/noFound. jsp </location>
</Error-page>
<Error-page>
<Error-code> 500 </error-code>
<Location>/serverError. jsp </location>
</Error-page>
<! -- Java. lang. Exception: Exception error. Based on this tag, multiple similar error prompts can be defined. -->
<Error-page>
<Exception-type> java. lang. Exception </exception-type>
<Location>/serverError. jsp </location>
</Error-page>
<! -- Java. lang. NullPointerException Exception error. Based on this tag, you can define multiple similar error prompts -->
<Error-page>
<Exception-type> java. lang. NullPointerException </exception-type>
<Location>/serverError. jsp </location>
</Error-page>
<Error-page>
<Exception-type> javax. servlet. ServletException </exception-type>
<Location>/serverError. jsp </location>
</Error-page>