<bean:write name="list" property="name"/> Is trying to access a bean named list and call a method on it called getName(). That is not what you want.
Try this. <bean:write name="list" /> -----Original Message----- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:38 PM To: '[EMAIL PROTECTED]' Subject: RE: prob. with collections i have written this code <logic:iterate id="list" name="filelist" property="file"> <tr> <td> <%=list%> </td> <tr> it works fine as my collection is collection of string now I tried doing this... <logic:iterate id="list" name="filelist" property="file"> <tr> <td> <bean:write name="list" property="name"/> </td> <tr> but it did not worked -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:22 PM To: [EMAIL PROTECTED] Subject: RE: prob. with collections which did you do: <bean:write name="list" property="name"/>? That would not have given you the exception you mentioned, puting <bean:write property="name"/> would have. CB "Dua, Amit" <[EMAIL PROTECTED]> on 10/19/2001 02:18:00 PM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject: RE: prob. with collections it did not work -----Original Message----- From: Barry Glasco [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:08 PM To: [EMAIL PROTECTED] Subject: RE: prob. with collections Highlight it and hit the delete key. If that does not work try this: <bean:write name="list" property="name"/> -----Original Message----- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 1:43 PM To: '[EMAIL PROTECTED]' Subject: prob. with collections Hi I have a collection of string which I am displaying through <logic:iterate id="list" name="filelist" property="file"> <tr> <td> <%=list%> </td> <tr> Is there anyway of getting rid of <%=list%> in above code