1- There may or may not be an existing ActionMessages object in the request, so your messages variable may be null. Just instantiate a new one if it's null.
2- When you've added your message to the ActionMessages object, put it in request scope with Globals.MESSAGE_KEY as the key. This isn't necessary if the object was already there, but it is necessary of you're instatiating a new one. [ January 26, 2006: Message edited by: Merrill Higginson ]