Announcement Announcement Module
No announcement yet.
WizardFormController renders partial view on exception Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • WizardFormController renders partial view on exception

    An Exception thrown in one view of a FormWizardController. The view resolved to a velocity template.

    The problem is: this exception is due to the rendering of the page, the exception is logged and eaten in VelociMacroProxy and a incomplete page was rendered. When I defined the error page for the exception in web.xml, I got another exception IllegalStateException.


    How to configure spring to render only the complete page (delay until the page is completely rendered instead of immediate output to the browser), so an exception will render no page and an error view can be redirected to in either web.xml or using Spring HandlerExceptionResolver.