This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to handle 'Success Messages' in Spring MVC in a manner similar to 'Error Messages'
 
Similar Threads
Display messages from controller on top of JSP page
[Spring MVC] Combining validation and internalization/localization
Spring MVC - repopulate the already entered values ?
Is there an easy way to display success messages in Spring MVC?
Not able to display error message using spring validator