File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
lakshmi nar
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 98
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic