Simply use <html:messages messages="true" id="message"> </html:messages>
This should do the trick.
Timo
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]
-- F&F Computer Anwendungen Tel: +49 89 51727-352 und Unternehmensberatung GmbH Fax: +49 89 51727-111 Westendstr. 195 Mail: [EMAIL PROTECTED] D-80686 Muenchen http://www.ff-muenchen.de
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

