In a J2EE web application Error page is defined in
Server.xml
config.xml
web.xml
application.properties