2 Replies Latest reply on May 31, 2010 10:12 AM by daniele campanini

    Manage exception with page.xml: redirect on same page

    daniele campanini Newbie
      Hi, I want to manage some exception with page.xml. I'd like to catch the exception and simply print a message in the same page.So i need do redirect to the same page. How can i do that?

      Something like this:
      <exception class="javax.ejb.NoSuchEJBException">
        <redirect view-id=" ????  ">
         <message severity="warn">Sessione expired</message>

      Is it possibile? is it a wrong way?