But, have u specified such attrib. like "input = <page.jsp> "
----- Original Message ----- From: "Sanjay Choudhary" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> 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 > > <html:text size="15" property="b.name"/> > > > > 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: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Greetings - send holiday greetings for Easter, Passover > http://greetings.yahoo.com/ > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>