Results 1 to 2 of 2

Thread: exception in formbackingobject method

  1. #1
    Join Date
    Oct 2006
    Location
    Dendermonde
    Posts
    33

    Default exception in formbackingobject method

    hey all,

    I have a question regarding the formbackingobject. How can i go to a particular view when an exception is caught in the formbackobject method?

    thnx

  2. #2
    Join Date
    Oct 2004
    Location
    Stockholm
    Posts
    79

    Default

    Two options:
    You don't catch the exception and configure an exceptionResolver in your spring context (recomended)

    You catch the exception and rethrow it wrappend in a ModelAndViewDefiningException
    Roberto Cosenza
    --
    Skicka stora filer enkelt med http://www.filecentral.se

Posting Permissions

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