This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?