1 Reply Latest reply on Jul 1, 2010 6:09 AM by gdfgd eqwe

    HTTP Errors

    Marcel Vielsack Newbie


      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?


      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!