Oracle WebCenter Sites (MOSC)

MOSC Banner

Custom 404 Pages

edited May 12, 2015 6:42PM in Oracle WebCenter Sites (MOSC) 1 commentAnswered

G'day,

I am trying to target a custom 404 page hosted in Sites. In the web.xml file, if I set the error page location to:

  1. /HelloCS
  2. /some-html.html

That works. However, if I tried to send it to the Sites servlet, it wouldn't work. Nor if I tried to send it to a vanity URL, I am guessing the latter would not work anyway. For the former, I am sending it to something like:

/Sites?lookuppage=/404&lookuphost=/

And I know that works because I can get to it from the browser.

How can you get it working without writing a HTML page in the web app to redirect.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center