Hi
i want to use the error.xhtml and the faces messages to display errors on my page.
With this code in the web.xml
i'm able to redirect the user to a error page. But in this case i have to create for each error a new page or am i wrong?
<error-page> <error-code>404</error-code> <location>/the404_page.xhtml</location> </error-page>
I'd like to do it with exceptions. Because in this case i'm able to add a message which error occured.
The problem is that no exception is thrown when i open a page which does not exist.
Can anyone help me?
Thanks a lot!
Hy!
What was the solution?