Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 61632 invoked from network); 1 Apr 2002 20:49:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Apr 2002 20:49:53 -0000 Received: (qmail 3339 invoked by uid 97); 1 Apr 2002 20:49:43 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 3319 invoked by uid 97); 1 Apr 2002 20:49:43 -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 3303 invoked from network); 1 Apr 2002 20:49:42 -0000 Message-ID: <20020401204939.28008.qmail@web14902.mail.yahoo.com> Date: Mon, 1 Apr 2002 12:49:39 -0800 (PST) From: Sanjay Choudhary Subject: Error in overiding the validate method of ActionForm To: Struts Users Mailing List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: