I think this is what you are looking for....
<logic:iterate name="myVector" id="myProject" indexId="i">
<bean:define id="mydescription" name="myProject"
property="description" />
<bean:write name="mydescription"/>
</logic:iterate>
-Eric
>>> [EMAIL PROTECTED] 3/2/2005 12:09:49 PM >>>
hi folks,
I am trying to iterate a through a Vector of object of
class Project where project has getter and setter
getDescription(),setDescription(),etc
In the jsp page I first created bean of name bar.
Vector v=new Vector();
Project p1=new Project();
p1.setName("project1");
p1.setDescription("des");
pageContext.setAttribute("bar",v,PageContext.PAGE_SCOPE);
then trying to iterate over bar
<logic:iterate id="element" name="bar">
</logic:iterate>
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
---------------------------------------------------------------------
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]