java - How can I implement a redirect-after-post form with Spring's AnnotationMethodHandlerAdapter? -


I would like to write a @RequestMapping style form controller that redirects after a verification error, and the values ​​and error messages are rounded up, In the GET requested form (Spring Docks always show scenes visible directly in response to the post) Basically, I think that this binding result is summarized in the session and then comes down the form. It has been placed back in the model before it is offered.

I do not believe that I am the only person who wants to do this, but I can not find any way in which the repetition of the whole annotation modhelder adapter is not included. Am I getting an easy solution?

You have two options:

  • Messages and models in the session
  • Use conversation

(I did not find the duplication part)


Comments

Popular posts from this blog

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -