Re: Struts 2 validation error messages

2007-07-10 Thread Don Brown
Just use the getText() method to resolve the key of your choice. For example: addActionError(getText("my.message.key")); Don On 7/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I have written my customised java class to do the form validation within the action class. I want to render

Struts 2 validation error messages

2007-07-10 Thread Manoj . Gupta
Hi, I have written my customised java class to do the form validation within the action class. I want to render the validation error messages from a property file and not hard coding it into the code. What i understand is the struts ActionSupport class has addActionError(String msg) which takes