i can't gat my errorPage to be shown when exception happen? using tomcat 5.0.28
in my web.xml i have
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/isErrorPage.jsp</location>
</error-page>
my error page
<%@ page isErrorPage="true"%>
<html><body>
! u coused the ${page.Context.exception}
<%=exception.getMessage()%>
</body></html>
and in my norty-code:
<%if (true){throw new RuntimeException("!!!");}%>
i allways geting my standard blanko 500-Page
HTTP 500 - Internal server error
Internet Explorer
in my web.xml i have
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/isErrorPage.jsp</location>
</error-page>
my error page
<%@ page isErrorPage="true"%>
<html><body>
! u coused the ${page.Context.exception}
<%=exception.getMessage()%>
</body></html>
and in my norty-code:
<%if (true){throw new RuntimeException("!!!");}%>
i allways geting my standard blanko 500-Page
HTTP 500 - Internal server error
Internet Explorer