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
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
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