0 Replies Latest reply on Aug 16, 2006 10:49 AM by trouby

    Redirect to Error pages

    trouby

      Hey,

      I assume this is not a pure SEAM question but, how can I redirect to a seam page when an error code occures?

      I have the following code in the web.xml file

      <error-page>
       <error-code>404</error-code>
       <location>/error_404.xhtml</location>
       </error-page>
      



      It works but the file is displayed without getting rendered by seam (direclty shows the content of the xhtml file), if I try to redirect to '/error_404.seam' then I get an error that the file does not exist,



      Thanks.