Joe Germuska wrote:
Is ActionMessages.GLOBAL_MESSAGE going to be deprecated? I use
org.apache.struts.Globals.MESSAGE_KEY instead.
No!
Read the javadoc -- that constant is not used for the purpose of
locating messages added to an ActionMessages object with no defined
property. Instead, it's used to locate an ActionMessages object in
request or session scope whose contents are of "message" priority for
user display (as opposed to errors, warnings, or any other arbitrary
grouping.)
http://struts.apache.org/struts-action/struts-core/apidocs/org/apache/struts/Globals.html#MESSAGE_KEY
Oh geez, what was I thinking... I totally glossed over the "request
attributes" reference in the javadocs (it's bad if I didn't read it,
even worse if I did and still got it wrong).
Wish Eclipse had a Search/Replace in Files...
Thanks,
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]