|
Hi Rick Actually I can set message to ModelAndView. However, I can't handle following issue cleverly. 1. I can't use LocaleResolver like Errors. Sample code: <spring:hasBindMessages name="command"> I would be also interrested with this evolution for a secondary purpose: In fact, I want to warn (or inform) users about some validation problems (that are not critical, not errors in facts). if the user submit the form again with no changes, I want to perform the submit. Hi, This is one area where Struts is superior IMO and I wish Spring MVC would offer functionality similar to Struts' ActionMessage. (In my opinion good success messages are just as important as good error messages Also, on a side note - would it be wise to have messages support for spring core? In quite a few cases my service layer methods need to pass back messages and I wonder if that is something to 'standardize' instead of rolling your own approach? See also: http://forum.springframework.org/archive/index.php/t-29411.html Thanks! Regards - Gunnar |
||||||||||||||||||||||||||||||||||||
Hi Daigo
I'm not quite sure what you mean with this issue; can you please explain a little more, perhaps supplying a use case?
If you want to display data upon sucess, you can put the data that you want displayed in the ModelAndView.
Cheers
Rick