Have you tried removing the trailing space? > ActionMessage newMessage = new ActionMessage("regform.myMessage "); ^
Not sure if that is a fix, but its a start. James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein (1879-1955) > -----Original Message----- > From: Michael Delamere [mailto:home@;michael-delamere.de] > Sent: Thursday, November 07, 2002 6:17 AM > To: Struts Users Mailing List > Subject: Problems with ActionMessages... (again) > > > Hi, > > I´m just not getting anywhere with the ActionMessages. I wrote to the > mailing list about a week ago and got no answer. Unfortunately since > then, I still haven´t managed to solve the problem myself. > Aaahhhrrrgggg! > > I´m trying to display a message in my jsp which I have defined in my > action as follows: > > ActionMessages messages = new ActionMessages(); > ActionMessage newMessage = new ActionMessage("regform.myMessage "); > messages.add(ActionMessages.GLOBAL_MESSAGE, newMessage); > saveMessages(request, messages); > > > And in my jsp: > <html:messages id="message" message="true"> > <bean:write name="message"/> > </html:messages> > > I´m getting exactly the same error as described in the thread below > (which also received no answer on this topic): > > http://www.mail-archive.com/struts-user@;jakarta.apache.org/msg34621.html > > If anyone knows how to solve this, please help! > > Regards, > > Michael > > > -- > To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>