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

#23800

hendrik
Participant

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?

Source is empty, too.

I tested your minimal error page, no difference to my jsf page: the page renders for all 404 responses except the one triggered by the ValidatorException. Could that be a path issue? /fs is my faces servlet, all error pages are in /fs/errors:


<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/fs/*</url-pattern>
</servlet-mapping>