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]>

Reply via email to