have you tried: <logic:iterate id="details" collection="txndetails" > ... </logic:iterate> ? Better yet.. why not just use JSTL?
<c:forEach var="details" items="${txndetails}"> ... </c:forEach> -Tim -----Original Message----- From: Mike Ash [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 4:31 PM To: 'Struts Users Mailing List' Subject: RE: Logic Iterate in Struts <logic:iterate id="details" name="txndetails" > ... </logic:iterate> java code was like List list = some_business_layer_call to return a list session.setAttribute("txndetails", list); error is cannot create iterator for collection -----Original Message----- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 3:16 PM To: 'Struts Users Mailing List' Subject: RE: Logic Iterate in Struts It all depends on how you use the tag. Show us how you tried to do this and what error was returned. -Tim -----Original Message----- From: Mike Ash [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 4:07 PM To: 'Struts Users Mailing List' Subject: RE: Logic Iterate in Struts I am having a problem with this tag as well. My issue it that I set a collection (List) object in the session, the list is not empty yet the result I get is cannot create an iterator... Every example i see says that you should have a bean that holds the collection so the tag uses the property attribute to retrieve the collection but I thought I could just throw a collection object into session and use it with the tag. What am I missing? -----Original Message----- From: Matthew J. Vincent [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 1:33 PM To: Struts Users Mailing List Subject: RE: Logic Iterate in Struts Deepak, Yesterday I posted a link containing source code on how to use the iterate tag. http://moosejaw.org/java/struts-iterate/ I hope it helps you. Matt -----Original Message----- From: Yinti, Deepak [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 2:25 PM To: Struts Users Mailing List Subject: RE: Logic Iterate in Struts I want to iterate thru by bean and retrieve all values in JSP thru this tag Deepak -----Original Message----- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 2:20 PM To: 'Struts Users Mailing List' Subject: RE: Logic Iterate in Struts That's not overly general or anything.... ** Note the sarcasm ** What do you want to know? -----Original Message----- From: Yinti, Deepak [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 2:13 PM To: Struts Users Mailing List Subject: Logic Iterate in Struts Can some body some body tell me about logic iterate tag Thanks Deepak This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you. Aetna --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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]