Application server level custom error page
===

I am using jboss as 7.1 (Brontes)<br>

i am trying to create a custom error page for my application server or find a way to modify the default page that is being shown?<br>

i am aware of the custom error page for an application that can be configured with filters in the web.xml, could i do something like this at an even higher level?<br>

Can someone point a direction in which i should proceed to achieve this.