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!".