File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
Spring MVC - repopulate the already entered values ?
Not able to display error message using spring validator
Display messages from controller on top of JSP page
Is there an easy way to display success messages in Spring MVC?
[Spring MVC] Combining validation and internalization/localization