Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 39513 invoked from network); 11 May 2005 20:22:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 May 2005 20:22:49 -0000 Received: (qmail 80514 invoked by uid 500); 11 May 2005 20:26:19 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 80437 invoked by uid 500); 11 May 2005 20:26:18 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 80401 invoked by uid 99); 11 May 2005 20:26:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from rs26s12.datacenter.cha.cantv.net (HELO rs26s12.datacenter.cha.cantv.net) (200.44.33.31) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 11 May 2005 13:26:18 -0700 Received: from nboscan ([161.196.95.110]) by rs26s12.datacenter.cha.cantv.net (8.13.0/8.13.0/3.0) with ESMTP id j4BKMAZR013933 for ; Wed, 11 May 2005 16:22:21 -0400 Message-Id: <200505112022.j4BKMAZR013933@rs26s12.datacenter.cha.cantv.net> X-Matched-Lists: [] From: =?iso-8859-1?Q?N=E9stor_Bosc=E1n?= To: "'Struts Users Mailing List'" Subject: Problems with ActionError Date: Wed, 11 May 2005 16:22:09 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003E_01C55645.96126FD0" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcVWZxtF2EswrqyqRXebPRObuWmxmQ== X-Virus-Scanned: ClamAV version 0.81, clamav-milter version 0.81b on rs26s12.datacenter.cha.cantv.net X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_003E_01C55645.96126FD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi I'm trying to use the ActionErrors clases. I'm doing validation on the Action class like this: if (user == null) { errors.add ("username", new ActionError ("errors.fieldisrequired", "username")); } saveErrors (request, errors); Ths resource file is configured correctly. I can do a getMessage inside the action class and it works. In my JSP I show the error like this: The error is not generated. The scope is request and the forward has redirect = false. Any ideas? ------=_NextPart_000_003E_01C55645.96126FD0--