fooX and barX in your ActionForm are not indexed properties... just Strings (not String[])...
maybe PropertyUtils.getProperty, but not getIndexedProperty HTH. On Mon, 3 Feb 2003, Sourav Das wrote: } hi , } I am facing some problem in retrieving the value in } bean using PropertyUtils.getIndexedProperty } } I am getting a error of } java.lang.IllegalArgumentException: Invalid indexed property 'fooX' } } my code looks some thing like this } } openVar = ( String )PropertyUtils.getIndexedProperty( form , "fooX" ); } } } where class form looks some thing like this } } public class CollapseForm extends ActionForm{ } private String fooX = ""; } private String barX = ""; } public void setFooX(String foo){ } this.fooX = foo; } } } public String getFooX(){ } return this.fooX; } } } public void setBarX(String bar){ } this.barX = bar; } } } public String getBarX(){ } return this.barX; } } } }//EOC CollapseForm } } ERROR : java.lang.IllegalArgumentException: Invalid indexed property 'fooX' } } any idea/solution to resolve this ? } } regards, } Sourav Das } ------------------------------------------------------------------------ Guido Garcia Bernardo [EMAIL PROTECTED] [EMAIL PROTECTED] "stat rosa pristina nomine, nomina nuda tenemus." ------------------------------------------------------------------------ http://members.ud.com/services/teams/team.htm?id=D8624419-BFB6-4772-A01A-0045631F979F --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]