This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Spring and the fly likes How to handle 'Success Messages' in Spring MVC in a manner similar to 'Error Messages' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "How to handle Watch "How to handle New topic
Author

How to handle 'Success Messages' in Spring MVC in a manner similar to 'Error Messages'

lakshmi nar
Greenhorn

Joined: Nov 14, 2011
Posts: 2
hi
i am new to spring How to handle 'Success Messages' in Spring MVC in a manner similar to 'Error Messages'(or)Messages as we write in struts using action messages.
ex("saved successfully")
Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Hi,
You can just return to a success page on success with a success message in ModelAndView.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to handle 'Success Messages' in Spring MVC in a manner similar to 'Error Messages'