Instead of Vector try using the ArrayList.

-----Original Message-----
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: 29 October 2003 13:25
To: [EMAIL PROTECTED]
Subject: iterate over a collection


hi!
can someone tell me whats wrong with this?
I am placing a vector of TransactionBean in session as
session.setAttribute("resVector", resVector);
i then place an empty TransactionBean in session scope as well
TransactionBean tb = new TransactionBean();
session.setAttribute("transactionBean", tb);

in my jsp i have a logic:iterate tag that goes
<logic:iterate collection="resVector" id="tb">
//print bean values
</logic:iterate>
this gives me an error saying, it cant iterate over this type of collection.

could someone help and tell me what i am doing wrong

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]


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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

Reply via email to