struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjay Choudhary <>
Subject Error in overiding the validate method of ActionForm
Date Mon, 01 Apr 2002 20:49:39 GMT

I have ActionForm bean - A which contains another
javabean B.

public class A extends ActionForm
   B b = new B();

public class B
   String name;

In the jsp we use
<html:text size="15" property=""/>

In Class A we also override the valdiate method

ActionErrors errors 
if ( == null){
  errors = = new ActionErrors();
  errors.add("",new ActionError("Name cannot be
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

without the validate method it works fine.

Pls. tell me where I am making the mistake.


Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message