Announcement Announcement Module
No announcement yet.
Problem DispatcherServlet Handling Rendering Exceptions Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 (
    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?

    Thanks. Garth.
    Last edited by robyn; May 14th, 2006, 07:22 PM.