#
# for servlet
#
You can find the error page from web.xml as following:

<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/WEB-INF/view/error/uncaughtException.jsp</location>
</error-page>

#
# for spring
#
You can find the error page handler in applicationContext.xml

<bean id="defaultExceptionHandlerTemplate" class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver" abstract="true">
<property name="defaultErrorView" value="defError"/>
<property name="exceptionMappings">
<props>
<prop key="my.SecurityException">notAuthorized</prop>
</props>
</property>
</bean>