Error Page Defined in web.xml Does Not Display When Expected.

(Doc ID 1404671.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle JDeveloper - Version 11.1.2.1.0 and later
Information in this document applies to any platform.

Goal

In an ADF Faces application, you have specified an error page in your web.xml as the following:

<error-page>
    <error-code>404</error-code>
    <location>/error404.jspx</location>
</error-page>


However, that page doesn't display when an HTTP error 404 occurs.


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms