Did you write the get method in MyClass1? you could:
class MyClass1 { String name; private MyClass2 myClass2 = new MyClass2() ; public String getName2(){ return myClass2.name2; //if name2 is public, else "return myClass2.getName2();" } } ----- Original Message ----- From: "Marcelo Flores A." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 27, 2002 3:39 PM Subject: jsp:getProperty I need help... I'm have data of javabeans than have other javabeans with attribute. class MyClass1 { String name; MyClass2 myClass2; } class MyClass2 { String name2; } how I have across sintax tag the name2' s value only with object MyClass1 <jsp:getProperty name="MyClass1" property="name2"> throw a error. I don't know how do it---- help me Atte. Marcelo Flores [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>