I have tried to configure error page in web.xml using error-page element, but the error page is never shown rather the exceptions are thrown out in raw form to the user viewing the application.
What should I do about it? I have not found any clue as to why is this so. Any help is highly thankful.
Regards,
Asif
You can add error pages for
Exceptionas followsRecheck the
Exceptiontype if you want to show error page on all type of exception then usejava.lang.Exception