Re: custom error page not working

Splash Forums PrettyFaces Users custom error page not working Re: custom error page not working

#21388

m1m
Participant

/error/* is a servlet doing redirection and logging. It’s not mapped in prettyfaces.

I have the following mapping:

<url-mapping id="page">
<pattern value="/#{/\d+/id}/"/>
<view-id value="/page.html"/>
</url-mapping>

But when I enter something not matching eg domain.com/1a2/ I got com.sun.faces.context.FacesFileNotFoundException but my servlet is not invoked. I see default browser error page