Problem DispatcherServlet Handling Rendering Exceptions
I have an XSLT view that throws an exception that is not caught by either the SimpleMappingExceptionResolver or my own HandlerExceptionResolver. As mentioned by bacota in this post (http://forum.springframework.org/showthread.php?t=18225)
why doesn't the dispatcher handle this like it does within the controller?
Currently in Tomcat 5.5 any exception that occurs within the render method blows all the way to the top of the application container. Even putting in an error page entry into web.xml that covers java.lang.Throwable doesn't handle it.
Short of handling the exception inside the view.render method or putting the view code into the controller how is it recommended to handle / provide an error page for exceptions that occur within the rendering method?