Try: <bean:write name="element" property="itemNo"/> <bean:write name="element" property="itemName"/>
Mark -----Original Message----- From: May [mailto:[EMAIL PROTECTED]] Sent: 25 September 2001 09:22 To: [EMAIL PROTECTED] Subject: retrieve data from Collection My Collection contains Item object. Item class consists of 2 values, Integer itemNo String itemName I use the logic:iterate tag to retrieve data from my collection. It goes like below... <logic:iterate id="element" name="ItemCollection" type="struts_4.Item"> <br><bean:write name="element" /> </logic:iterate> This way, I can retrieve Item Object itself... But what I realy want to retrieve is the itemNo and itemName information of each Item Object in the collection. Is there a solution to use the getters, getItemNo() getItemName() in the Item class... Thank you in advance. May *************************************************************************** This email message contains confidential information for the above addressee only. If you are not the intended addressee you must not disclose or use the information in any manner whatsoever. Any opinion or views contained in this email message are those of the sender, do not represent those of the Company in any way and reliance should not be placed upon its contents. Unless otherwise stated this email message is not intended to be contractually binding. Where an Agreement exists between our respective companies and there is conflict between the contents of this email message and the Agreement then the terms of that Agreement shall prevail. Abbey National Treasury Services plc. Registered in England. Registered Office: Abbey House, Baker Street, London NW1 6XL. Company Registration No: 2338548. Regulated by the SFA ***************************************************************************