Claudia, <bean:write name="ente" property="code.name"/>
will help, btw. do you know the nested-taglib of struts? <nested:root name="ente"> <nested:write property="name"/><br/> <nested:write property="./beschreibung"/><br/> <nested:nest property="code"> <nested:write property="name"/><br/> </nested:nest> </nested:root> Regards, Matthias > -----Original Message----- > From: Claudia Woestheinrich [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 14, 2004 10:43 AM > To: [EMAIL PROTECTED] > Subject: write bean without propertys with primitve Datatypes > > > HI, > > I have a question. I want to user the iterate tag like: > > <logic:iterate id="ente" name="projektForm" property="enten" > > > <bean:write name="ente" property="name"/> > <bean:write name="ente" property="beschreibung"/> > ????? <bean:write name="ente" property="code"/> here the > property code is an other bean > > </logic:iterate> > > The Beans-Code: > > public class Entity(){ > > private Code code; > private String name; > publich Entity(){} > > public String getName(){ return name; } > > public Code getCode(){ return code; } > ..... > } > > public class Code(){ > > > private String name; > publich Code(){} > > public String getName(){ return name; } > > ....... > } > > How can I do this? > Thanks > Claudia > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]