Access Spring MVC BindingResult from within a View?

You have to add "errors" tag in your form view, as described here : static.springsource.org/spring/docs/3.0.... Then in your Controller, you just put a test.

You have to add "errors" tag in your form view, as described here : static.springsource.org/spring/docs/3.0..... Then in your Controller, you just put a test : if(bindingResult.hasErrors()) { ... display your form page again (and "errors" tags will be populated by validation messages corresponding to each field) ... } else { ... here, you know that your RegistrationData is valid so you can treat it (save it I guess) ... }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions