Is there any best practice when binding global errors to Spring form (say service class throws exceptions)? Do we use reject and spring:errors to deal with such case?
I do not get any result in the JSP snippet. "Input" form binds and gets me the results but I do not see any output for the errors. Is there something obvious that I am missing?
OK I got it. I changed name="input" instead of command and items="${errors.globalErrors}"
But now I have another issue -
I am trying to use the same page for another controller which is supposed to throw errors and this JSP should catch it. How am I supposed to show these errors?