quick try - try replacing Names with names in iterate tag
>-----Original Message----- >From: Thakur, Vikram [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 22, 2003 9:55 AM >To: Struts (E-mail) >Subject: Help needed on Iterate Tag > > >Hi , > I have Collection of Strings and I want to print all the values in >this collection using Iterate Tag. > Any guidelines how do I do this ?? > > I had tried to implement it as follows but it is not working. > > <logic:iterate id="element" name="newCatFormBean" property="Names"> > <bean:write name="element" /> > </logic:iterate> > > Here the getNames() method of my form bean returns a Collection of >Strings. > The bean:write method tries to search for FormBean with "element" >and I get error. > I would really appreciate If someone can help me on this. > >Thanks, >Vikram > > > > >____________________________________________________ >This message contains information that may be privileged or >confidential and >is the property of the Cap Gemini Ernst & Young Group. It is intended only >for the person to whom it is addressed. If you are not the intended >recipient, you are not authorised to read, print, retain, copy, >disseminate, >distribute, or use this message or any part thereof. If you receive this >message in error, please notify the sender immediately and delete >all copies >of this message. > >--------------------------------------------------------------------- >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]