Thanks Timo, that did it. But the attribute is "message" not "messages". Hence, message="true".
Stan
Timo Neumann wrote:
Simply use <html:messages messages="true" id="message"> </html:messages>
This should do the trick.
Timo
Stan Reinis wrote: My Action includes the following code:
ActionMessages messages = new ActionMessages();
...
messages.add(
ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("adminUpdateProfileAction.profile.has.been.updated"));
...
saveMessages(request, messages);
forward = mapping.findForward("success");
My jsp has <ul> <html:messages id="message"> <li><bean:write name="message" /></li> </html:messages> </ul>
And yet no messages are appearing in the response. The source code shows
<ul>
</ul>
Perusing the javadocs, I find the following description for the saveMessages()
method:
"Save the specified messages keys into the appropriate request attribute for use by the
<html:messages> tag (if messages="true" is set), if any messages are required."
My question is: how do we set messages="true"?
Thanks, Stan Reinis RIGCI, Inc.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

