Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • 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
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic