Reply To: Empty page on ValidatiorException instead of 404 page

Splash Forums PrettyFaces Users Empty page on ValidatiorException instead of 404 page Reply To: Empty page on ValidatiorException instead of 404 page

#23794

Hey,

could you explain “empty page” a bit more? I understand that the browser displays just a white page, but what about the HTML source? Is also empty?

Could you also try to use a simple HTML page as the 404 page instead of a JSF page. Something like this:

<error-page>
  <error-code>404</error-code>
  <location>/404.html</location>
</error-page>

With something like this in error.html:

<html>
<body>
<h1>Error</h1>
</body>
</html>