0

Trying to set up a global error page for all errors and all apps in /webapps.

../conf/web.xml

<web-app> 
...
  <error-page>
       <location>/error.html</location>
  </error-page>
...
</web-app> 

../webapps/ROOT/

-rw-rw-r-- 1 mee mee 5 Feb  2 14:11 error.html

But that does not work. If I put the error.html in the respective apps in /webapps, then of course it works. But my goal is to have one central error page for all apps.

What am I doing wrong?

ng-User
  • 243
  • 1
  • 6
  • 18

0 Answers0