LOL.....ignore my correction then.


--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/

"The man who does not read good books has no advantage over the man who
cannot read them."
        - Mark Twain (1835-1910)



> -----Original Message-----
> From: alexj [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, February 21, 2003 2:48 PM
> To: Struts Users Mailing List
> Subject: Re: Understanding the Iterate Tag
> 
> 
>  <logic:iterate id="SearchResultBean" name="results" >
>     <bean:write name="SearchResultBean" property="title"/>
>     <bean:write name="SearchResultBean" property="description"/>
>  </logic:iterate>
> >
> > Alexandre Jaquet
> > ----- Original Message -----
> > From: "Brian Hart" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, February 21, 2003 8:36 PM
> > Subject: Understanding the Iterate Tag
> >
> >
> > I have a JavaBean Array in the session scope which I can 
> loop through in a
> > scriptlet to output properties of each member of the array.
> > Example:
> > <%
> > SearchResultBean[] c = (SearchResultBean[])
> session.getAttribute("results");
> >
> > for (int x = 0; x < c.length; x++){
> >   out.println(c[x].getTitle());
> >   out.println(c[x].getDescription());
> > }
> > %>
> >
> > What is the equivalent syntax for the above using the struts
> <logic:iterate>
> > tag?
> >
> > Thank You,
> > Brian
> >
> >
> >
> > 
> --------------------------------------------------------------
> ------------
> --
> > ----
> >
> >
> > > 
> ---------------------------------------------------------------------
> > > 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]
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> 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