I have the following code in my Action:
ActionMessages messages=new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("general.message",id));
forward=mapping.findForward("Success");
return forward;
And the below code in
jsp file to which it is forwarded to:
<html:messages id="msg" message="true">
<bean:write name="msg" />
</html:messages>
But nothing is displayed.
The errors in my actionforms are properly displayed. The problem seems to be with messages from Action class.
What is wrong ?