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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3510.1100" name=GENERATOR></HEAD>
<BODY style="FONT: 10pt Tahoma; MARGIN-LEFT: 2px; MARGIN-TOP: 2px">
<DIV>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.</DIV>
<DIV>Example:</DIV>
<DIV><%<BR>SearchResultBean[] c = (SearchResultBean[])
session.getAttribute("results");</DIV>
<DIV> </DIV>
<DIV>for (int x = 0; x < c.length; x++){</DIV>
<DIV> out.println(c[x].getTitle());<BR>
out.println(c[x].getDescription());<BR>}<BR>%></DIV>
<DIV> </DIV>
<DIV>What is the equivalent syntax for the above using the struts
<logic:iterate> tag?</DIV>
<DIV> </DIV>
<DIV>Thank You,</DIV>
<DIV>Brian</DIV>
<DIV><BR> </DIV></BODY></HTML>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]