Results 1 to 2 of 2

Thread: ModelAttribute on exception handlers

Threaded View

  1. #1

    Exclamation ModelAttribute on exception handlers

    I am new to spring MVC. So, sorry if I am saying something that does not make any sense.
    I would like to get the modelAttribute(my form object) in my exceptions handlers, is that possible?
    So, I could be able to send the previous form data to the JSP that is handling the exception.

    I read the spring MVC exception handler documentation, and it seemed not possible.
    So what you masters of Spring can tell me ?
    Is there any easy and not so forced way to do that?

    Spring framework is normally flexible and extensible. But the exception handler life cycle in Spring MVC has being a little bit hard to work with, at least for me .
    Last edited by rafaelweingartner; Jun 6th, 2012 at 09:28 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •