My Oracle Support Banner

How to setup custom error pages for a J2EE web application at either OC4J or HTTP Server (Doc ID 455517.1)

Last updated on FEBRUARY 08, 2022

Applies to:

Oracle Containers for J2EE - Version to [Release AS10gR2 to AS10gR3]
Information in this document applies to any platform.


This note illustrates two method that can be used to display custom HTML pages back to browser whenever a web application deployed to Oracle Containers for J2EE (OC4J) returns various HTTP error codes, such as Page Not Found (HTTP-404) or Server Error (HTTP-500).


To view full details, sign in with your My Oracle Support account.

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

In this Document
 Configuring custom error pages at the J2EE application level
 Configuring custom error pages at the Oracle HTTP Server level
 Additional Configuration Needed for Microsoft Internet Explorer Browsers
 The ERROR_PAGE_APP example web application

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.