What is the equivalent of Struts ActionMessages in Spring MVC?

Posted by Umar on Stack Overflow See other posts from Stack Overflow or by Umar
Published on 2010-03-29T08:55:05Z Indexed on 2010/03/29 9:23 UTC
Read the original article Hit count: 504

Filed under:
|
|

Please let me know if you have any idea about it.

Thanks

EDIT

What ActionMessages is?

ActionMessages is basically a class that holds messages that you want to display on a JSP page. Messages can be added in ActionMessages in an Action(controller) class. On the JSP, the position where the messages are intended to be displayed, is marked by <html:messages/> tag. Hence, all your messages are rendered automatically on that specific position.

These messages are usually feedback texts that need to appear after some user actions. For example, if the user creates a new record, a feedback message could be "Record created successfully!".

© Stack Overflow or respective owner

Related posts about spring

Related posts about struts