1 Reply Latest reply on Mar 18, 2011 8:55 AM by Maxym Pendyshchuk

    JBoss 6, where to configurate custom 403 error page?

    Maxym Pendyshchuk Newbie

      I'm using JBoss 6, my application is configurate to be used as root (I removed Root.war), and when user gets 403 error JBoss page is shown instead of mine. When I add in my web.xml appropriate settings like:









      it does not work. I don't know why, because it is my filter which sets :


      httpResponse.setStatus( HttpServletResponse.SC_FORBIDDEN );


      I tried to find global web.xml file to configurate it there (although I'm not sure that I should do it there), no success as well... what's wrong? custom error page for 404 and other works well, but not for 403..