struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcos Mendonça" <marc...@gmail.com>
Subject Re: s:iterator tag
Date Fri, 10 Aug 2007 11:46:47 GMT
I managed to make it work by acessing the ArrayList.iterator() method.
That is, I had to create another class member of the type Iterator,
create getters and setters for it, and the use that member in the
.jsp.

On 8/9/07, Marcos Mendonça <marcosm@gmail.com> wrote:
> Yes, I did. ArrayList has something in it.
>
> I managed to print it's size and log the file name, the one I'd like
> to print with the JSP.
>
> On 8/9/07, Dave Newton <newton.dave@yahoo.com> wrote:
> > --- Marcos Mendonça wrote:
> > > I have an action that generates an ArrayList of the
> > > files in a given directory.
> >
> > Do you know that it's generating a list with any files
> > in it (determine via logging for the most complete
> > information or put something else in the
> > <s:iterator.../> loop as a quick sanity check)?
> >
> > d.
> >
> >
> >
> >
> > ____________________________________________________________________________________
> > Need a vacation? Get great deals
> > to amazing places on Yahoo! Travel.
> > http://travel.yahoo.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message