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">
<bean:write name="element"/>
</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]

Reply via email to