I have developed my application locally in Tomcat 6.0 Server and whenever I get an exception, It’s successfully calling error page (jsp) and showing the exception. But the issue I’m facing is, when the same application is deployed in web logic server and whenever the user get an exception(run time exception), it’s not getting redirected to error page But rather I’m getting 404 error Frame work – Spring MVC Error page location - /WEB-INF/jsp/error.jsp
Any help will be appreciated .PFB my web.xml snippet
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/WEB-INF/jsp/error.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.RuntimeException</exception-type>
<location>/WEB-INF/jsp/error.jsp</location>
</error-page>