try

<bean:write name="aPayment" property="amount"/><br />

-----Original Message-----
From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 3:04 PM
To: Struts Users Mailing List
Subject: Get only first value using logic:iterate



 Hi:
 
I am using the following to iterate over payments(Vector).
<logic:iterate id="aPayment" name="payments" scope="session"
type="com.test.Payment">
<bean:write name="aPayment" property="amount"/>
</logic:iterate>
In my action class, I have session.setAttribute("payments",payments);
When I run it, I can get only first item of payments. I am using Struts1.1.
What could be wrong? Please help me. Thanks.
 
Cathy
 
 



---------------------------------
Post your free ad now! Yahoo! Canada Personals

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

Reply via email to