error 404 workes fine, but when there is an internal server error(500), tomcat doesn't seem to pick the error.jsp defined in the web.xml. I'm sure the file(error.jsp) is in the right folder and there is no typo in web.xml. when I move it outside of WEB-INF, it works, anyone knows why.
Do you know why this cup is useful? Because it is empty.