How to setup custom error pages for a J2EE web application at either OC4J or HTTP Server

(Doc ID 455517.1)

Last updated on MARCH 30, 2018

Applies to:

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

Goal

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).

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