1 Reply Latest reply on Jun 4, 2014 5:46 AM by Alberto Soverchia

    Custom 404 page

    Alberto Soverchia Newbie

      Hi All,

       

      i am using JBoss AS 7.1.1 and would like to implement a custom 404 page general for the whole installation, not per application.

      Is it possible, and eventually how?

       

      Thank you

      Alberto

        • 1. Re: Custom 404 page
          Alberto Soverchia Newbie

          I will add some tests i have made:

          I created a custom application with / as context root that replace the ROOT.war. This app has a custom 404 page. The other webapps deployed on that server all have a custom 404 page.

          This works most of the time as with visiting a wrong context or wrong page, BUT it doesn't when requiring a wrong resource, for example a wrong png. In this last example the default 404 page is displayed.