Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 7433 invoked from network); 2 Apr 2002 00:06:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Apr 2002 00:06:27 -0000 Received: (qmail 22680 invoked by uid 97); 2 Apr 2002 00:06:21 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 22646 invoked by uid 97); 2 Apr 2002 00:06:20 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 22635 invoked from network); 2 Apr 2002 00:06:20 -0000 Message-ID: <000701c1d9d9$abb48670$1102a8c0@teamone.esstu.ru> From: "Slava_L" To: "Struts Users Mailing List" References: <20020401234330.77155.qmail@web14910.mail.yahoo.com> Subject: Re: Error in overiding the validate method of ActionForm Date: Tue, 2 Apr 2002 09:02:25 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N But, have u specified such attrib. like "input = " ----- Original Message ----- From: "Sanjay Choudhary" To: "Struts Users Mailing List" Sent: Tuesday, April 02, 2002 8:43 AM Subject: Error in overiding the validate method of ActionForm > > Hi, > > > > I have ActionForm bean - A which contains another > > javabean B. > > > > public class A extends ActionForm > > //Attribute > > B b = new B(); > > > > public class B > > String name; > > > > In the jsp we use > > > > > > In Class A we also override the valdiate method > > > > ActionErrors errors > > if (b.name == null){ > > errors = = new ActionErrors(); > > errors.add("b.name",new ActionError("Name cannot > > be > > blank")); > > } > > return errors; > > > > > > When I put the validate method in my bean I get > > error > > > > No input attribute for mapping path > > /delegatordelegatename (This is the Action mapping > > name). > > > > without the validate method it works fine. > > > > Pls. tell me where I am making the mistake. > > > > -Sanjay > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Greetings - send holiday greetings for > > Easter, Passover > > http://greetings.yahoo.com/ > > > > -- > > To unsubscribe, e-mail: > > > > For additional commands, e-mail: > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Greetings - send holiday greetings for Easter, Passover > http://greetings.yahoo.com/ > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: