I've tried to use the 'collection' arg in the iterate tag and never had it work (with array, collection, or anything) and always have to use 'name'. I'm not sure why, but yes it seems to work fine.
On Monday 10 May 2004 09:31 am, Jimmy Coyne wrote: > Hi all , > > Seen an example like this in the kick start struts book but when I try I > get an > > "cannot create iterator for this collection" > > In the action class, employee beans are added to an ArrayList which > added to the request object > > ArrayList employees = getEmployees(); > request.setAttribute("employees", employees); > > > the jsp > > <logic:iterate id="employee" name="employees"> > <tr align="left"> > <td> > <bean:write name="employee" property="username" /> > </td> > <td> > > > Should this works ? > Thanks > Jim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]