Title: Message
Hi Vidya,
You can use nested iterate tag to achive this functionality.
Rgds
C.Bhaskaran
-----Original Message-----
From: Vidya P.S. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: Using the nested iterate tag

Hi,
In a JSP, I need to iterate through a collection of beans, say BeanA, which is stored in the session. 
BeanA contains the attributes - ID (a String) and an arrayList.The array list contained in BeanA contains a collection of beans of type, say, BeanB. BeanB has an attribute, Name (which is a String).
How do I iterate through the collection of  Bean A and for each ID of bean A - iterate through the array list contained in it and display the value of "Name" attribute of bean B ?
 
Thanks
Vidya
 
**************************Disclaimer************************************************** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to