[jboss-user] [JBoss Seam] - Redirect to Error pages

trouby do-not-reply at jboss.com
Wed Aug 16 10:49:40 EDT 2006


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965495#3965495

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965495



More information about the jboss-user mailing list