154
I am using <error-page> element in web.xml to specify the friendly error page when user encounters a certain error such as error with code of 404:
<error-page>
<error-code>404</error-code>
<location>/Error404.html</location>
</error-page>
However, I want that if the user does not meet any error code specified in <error-page>, he or she should see a default error page. How can I do that using the element in the web.xml?