I believe you want to use the <bean:messages ...../> tag. There isn't an <html:messages> tag.
-Richard
At 06:18 PM 12/5/2003, you wrote:
The messages tag supposed to display all the messages automatically ?
When I place this on the JSP, the messages do not display:
<[EMAIL PROTECTED] prefix="html" uri="/struts-html"%>
<html:messages id="resultMsg" name="ATTR_ACTION_MESSAGES"/>
I know that the message key is correct, the message resource file can be found, and the messages collection has been properly placed in the request, etc. etc. because if I add (below that line) this tag:
<bean:write name="resultMsg"/>
to the page, then the message does display. But I shouldn't have to do that, right ?
Since adding the bean:write tag does display a message from the collection, this does not appear to be a basic setup issue. It's more a question about the intended behavior of the messages tag.
Why doesn't this usage of the messages tag <html:messages id="resultMsg" name="ATTR_ACTION_MESSAGES"/> automatically display all messages in the collection ?
--------------------------------------------------------------------- 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]

