You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Malhotra, Amitkumar (Exchange)" <AM...@Bear.com> on 2005/11/25 06:10:45 UTC

sorry for posting this question to the wrong list, please igore it

 

 

  _____  

From: Malhotra, Amitkumar (Exchange) 
Sent: Friday, November 25, 2005 10:38 AM
To: dev@struts.apache.org
Subject: iterating over collection

 

Hello All,

Am stuck up with a simple problem and could not find solution to the
same over the net

my DAO sets a list in the session , this list contains java bean
classes, the action
class forwards the flow to a jsp page.

I want to iterate over the collection and read the java beans stored in
the same using
struts logic tags but am unable to do so.

can some one help me out in this with a small code fragment.

my list name is 'secondaryList' and the java bean class it stores is
called 
'secondaryBean', this bean class has properties such as 'name','price'
etc 
set in it.

Thanks and Regards,
Amit Malhotra.