I am using WAS6.0(App server) and IHS(Web server) for my web application. I am facing one problem for showing customised error page in case of some exception occurs in application server. I have put ErrorDocument 500 in webserver (httpd.conf) which works if app server is down. But in case of exception in appserver it does not work. I have put <error-page> element in web.xml for 500 error-code and java.lang.Exception exception-type but it is still showing default page . Is there any other setting in appserver or webserver required for showing customised error page in case of exception in application server?