<table border='1' cellpadding='0' cellspacing='0' style='BORDER-COLLAPSE: collapse' bordercolor='#111111'>< logic:iterate id="rowArray" name="batchForm" property="rowBatchDetails" indexId="rowCount" ><tr align="center" bgcolor='<%=rowCount.intValue()%2==0?"#ffffff":"#dddddd"%>'>< logic:iterate id="colArray" name="rowArray" indexId="colCount" ><logic:equal name="colCount" value="0" ><td align='left' width='165' class='normaltxt' height="20"> <!-- last name --> <a HREF="batch.do?action=Prospect&prospectChoice=<%=rowCount%>" target="_top"> <bean:write name="colArray" /></a> </td> </logic:equal>
<etc ...> </logic:iterate ></tr> </logic:iterate ></table> Check where I have placed the < and > on the tags. I haven't checked the above compiles but basically you need to put your <> on the same line as the next line of code ie : <c:forEach items="${blahBean}" var="bleh" ><c:out value="${bleh.value}"/></c:forEach> Chris McCormack -----Original Message----- From: JoAnn Lemm [mailto:[EMAIL PROTECTED] Sent: 26 October 2004 00:08 To: [EMAIL PROTECTED] Subject: FW: Serious performance impact with iterator Importance: High Hey All, I'm wondering if anyone else is seeing this impact. I've got an iterator within an iterator thusly: <table border='1' cellpadding='0' cellspacing='0' style='BORDER-COLLAPSE: collapse' bordercolor='#111111'> <logic:iterate id="rowArray" name="batchForm" property="rowBatchDetails" indexId="rowCount"> <tr align="center" bgcolor='<%=rowCount.intValue()%2==0?"#ffffff":"#dddddd"%>'> <logic:iterate id="colArray" name="rowArray" indexId="colCount"> <logic:equal name="colCount" value="0"> <td align='left' width='165' class='normaltxt' height="20"> <!-- last name --> <a HREF="batch.do?action=Prospect&prospectChoice=<%=rowCount%>" target="_top"> <bean:write name="colArray" /></a> </td> </logic:equal> <etc ...> </logic:iterate> </tr> </logic:iterate> </table> The resulting html looks like the following. Note all the empty spaces. Needless to say, this has impacted performance on the website significantly by increasing the size of the page to something ludicrous when I have more than 20 rows of data to display! Anyone have a solution for this? A patch somewhere? <table border='1' cellpadding='0' cellspacing='0' style='BORDER-COLLAPSE: collapse' bordercolor='#111111'> <tr align="center" bgcolor='#ffffff'> <td align='left' width='165' class='normaltxt' height="20"> <!-- last name --> <a HREF="batch.do?action=Prospect&prospectChoice=0" target="_top"> Aiken</a> </td> <about 25-30 empty rows!> <td align='left' width='150' class='normaltxt' height="20"> <!-- first name--> <a HREF="batch.do?action=Prospect&prospectChoice=0" target="_top"> Glenda</a> </td> <and more of the same ...> JoAnn Lemm --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *********************************************** This e-mail and its attachments are confidential and are intended for the above named recipient only. If this has come to you in error, please notify the sender immediately and delete this e-mail from your system. You must take no action based on this, nor must you copy or disclose it or any part of its contents to any person or organisation. Statements and opinions contained in this email may not necessarily represent those of Littlewoods. Please note that e-mail communications may be monitored. The registered office of Littlewoods Limited and its subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. Registered number of Littlewoods Limited is 262152. ************************************************ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]