1 Reply Latest reply on Aug 16, 2007 5:36 AM by Pete Muir

    Basic question about redirecting with exception

    Shigeaki Wakizaka Newbie

      I have a page like this

       <h:form id="someForm">
       <h:commandButton id="action" value="Action"

      the name of the xhtml is "Test.xhtml"

      and this is in a pages.xml

       <redirect view-id="/error.xhtml">
       <message>Unexpected error, please try again</message>

      When some Exception occurs during someAction.action, the redirect url is "/context/Test.seam/error.xhtml" So, I get 403 error now.

      I expected that the url is "context/error.xhtml"

      What am i missiing?

      Thanks in advance.