Thank you very much Paul. It was a big time save for me. Regards
Hakan Paul Benedict <[EMAIL PROTECTED]> 20/01/2006 04:07 PM Please respond to "Struts Users Mailing List" <user@struts.apache.org> To Struts Users Mailing List <user@struts.apache.org> cc Subject Re: error messages doesn't appear if validate is called programatically Hakan, You need to store the error messages in the request or session after you retrieve them: ActionErrors errors = form.validate(); if ((errors != null) && !errors.isEmpty()) { saveErrors(request, errors); return mapping.getInputForward(); } Paul __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain privileged/confidential information. You may not copy or disclose this email to anyone without the written permission of the sender. If you have received this email in error please kindly delete this message and notify the sender. Opinions expressed in this email are those of the sender and not necessarily the opinions of the employer. This email and any attached files should be scanned to detect viruses. No liability will be accepted by the employer for loss or damage (whether caused by negligence or not) as a result of email transmission.