Re: struts migration - ActionError Server Side

2007-03-22 Thread Dave Newton
--- tom tom <[EMAIL PROTECTED]> wrote: > ActionError actionError = new ActionError(""); > ActionMessage actionMessage = new > ActionMessage("error.test.error1"); > > actionErrors.add(ActionErrors.GLOBAL_MESSAGE, > actionMessage); http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphon

struts migration - ActionError Server Side

2007-03-22 Thread tom tom
Hi, How can I convert the following struts 1.x to struts 2.0.6. ActionError actionError = new ActionError(""); ActionMessage actionMessage = new ActionMessage("error.test.error1"); actionErrors.add(ActionErrors.GLOBAL_MESSAGE, actionMessage); above is in a action class and error.test.error1 is