I am using Tomcat 7 and JSP pages. I would like to provide a custom error page for HTTP 500 errors.
What I did is to declare the custom error page as following in
Found that adding
<% response.setStatus(200); %>
to the error JSP page (i.e. before HTML tag) would fix the issue.