tags:

views:

109

answers:

1

Thanks to everyone in advance -

So I setup a simple test to see how <%@ page errorPage="error.jsp" %> behaves. It seems to execute the said page "error.jsp" when I throw an exception, but if I test syntax errors like missing a ";", I am still getting the tomcat error page. Am I missing something or shouldnt this execute the error page on any type of error?

Thanks,

Sam

+6  A: 

The JSP error page is only for run-time errors (when the page is loaded), the tomcat errors are compile errors when the servlet container tries to compile your JSP.

seth