thanks for the info
i am trying the following
In Action Class:
ActionMessages addTaskMessages = new ActionMessages();
addTaskMessages.add("addtasksuccess", new ActionMessage("
message.addtask.sucess"));
saveMessages(request, addTaskMessages);
---- IN JSP
--------
<logic:messagesPresent property="addTaskMessages">
<html:messages property="addTaskMessages"" id="addtasksuccess">
<bean:write name="addtasksuccess"/><br/>
</html:messages>
</logic:messagesPresent>
same for ActionErrors,
On 12/14/06, nagesh.kumar <[EMAIL PROTECTED]> wrote:
This will work u
<logic:messagesPresent>
<table align="center" border="0">
<tr>
<td>
<UL>
<html:errors/>
<html:messages id="msg" message="true">
<li class="error_message"><bean:write name="msg" /></li>
</html:messages>
</UL>
</td>
</tr>
</table><br />
</logic:messagesPresent>
Thanks
Nagesh
-----Original Message-----
From: Kranti [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 14, 2006 11:03 AM
To: Struts Users Mailing List
Subject: ActionMessages
hi,
can anyone tell how *
ActionMessages can be used in struts along with html:message tag
*
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]