Ajay,

        use the struts-bean taglibrary and <bean:write> tag.  Something like this:
<logic:iterate name="ResVector" id="transactionBean">
    <logic:present name="transactionBean">
        <bean:write name="transactionBean" property="property1" />
      ..
      <bean:write name="transactionBean" property="propertyN" />
   </logic:present>
</logic:iterate>

HTH
jeremy

-----Original Message-----
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 11:19 AM
To: [EMAIL PROTECTED]
Subject: collection iterate


hi!
i have a collection that i would like to iterate over and print the contents 
out
i am currently doing this as
<logic:iterate name="ResVector" id="transactionBean">
....
here ResVector is a collection that has been placed in session.
it is a collection of transaction beans.
i want to iterate over the collection, and print the details of the 
transaction bean stored in the collection.

pleas help
thanks
ajay

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp


---------------------------------------------------------------------
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]

Reply via email to