1 Reply Latest reply on Mar 6, 2009 1:47 AM by norman

    debug.xhtml redirect help

    cchidamb

      Hi,
      This is about Seam configuration issue. When there is an exception thrown in my richfaces seam based application it is redirected to my /debug.xhtml file, and says 404. How do I redirect this to //faces/debug.xhtml


      I would like to add /faces mapping when redirecting to debug.xhtml

        • 1. Re: debug.xhtml redirect help
          norman

          Is your whole webapp mapped to /faces?  If so, this should happen automatically. 


          If not, you can use a rewrite rule in pages.xml to get whatever URL pattern you like:


          <page view-id="/debug.xhtml">
              <rewrite pattern="/whatever/you/like" />
          </page>