Thanks Markus and Felix !!!
It works!!!

Thanks!!!

----- Original Message ----- 
From: "Markus" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 20, 2003 11:16 AM
Subject: Re: Iterate a Collection of Properties ???


> Hi,
> 
> Look inside the struts-exercise-taglib webapp of the struts package!
> There you will find all you need.
> 
> Regards,
> 
> Markus
> 
> > How can I iterate a ArrayList have Properties Objects elements???
> > 
> > with <logic:iterate> ???
> > 
> > In my Action I pass the ArrayList.
> > 
> > Arraylist list = new ArrayList();
> > Properties prop;
> > for (int i = 0 ; i < 10 ; i++){
> >  prop = new Properties();
> >  prop.put("name","michael");
> >  prop.put("number","i");
> >  prop.put("end","Street foo");
> > 
> >  list.add(prop);
> > }
> > 
> > request.setAttribute("lista",list);
> > 
> > 
> > In my JSP, how can I iterate this ArrayList???
> > 
> > 
> > Thanks.
> > 
> 
> 
> ---------------------------------------------------------------------
> 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