You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by JoAnn Lemm <jl...@CAMELBACKRA.com> on 2004/10/26 22:07:42 UTC

What?!

Eddie,

Well- how rude!

This was a glitch in the email server and not my fault. I find it quit
rude that you would so chastise me without all the information.

On the other hand, many thanks to all of those who did reply with more
civility. I believe the filter suggestion will work for me. Thank you.

JoAnn

-----Original Message-----
From: Eddie Bush [mailto:eabush@swbell.net] 
Sent: Monday, October 25, 2004 5:33 PM
To: Struts Users Mailing List
Subject: Re: Serious performance impact with iterator

JoAnn,

Please don't take this wrong, but it is considered quite rude to email
the list in such quick succession.  Believe it or not, most of the
people on the list actually work and have things to do other than check
for new messages every 2 minutes.  In fact, it's only by people
volunteering to answer questions that questions get answered.  Nobody
gets paid to do it!

My apologies if you feel my response is rude.  It's not meant to be
rude. 
It is meant to help you realize that, by spamming the list like you did
with this message, you're potentially alienating the very people who
might be able to help you.  In other words, you're likely to get
ignored.

Most questions get answered pretty quickly, considering nobody is paid
to answer questions.  If your question is not met with an answer, it
could be that the person who can answer it is busy -- or, viewed another
way -- that nobody reading the question is knowledgable enough to answer
you.

Myself, I work from about 7:00 a.m. til about 6:00 p.m.  Sometimes I get
a lunch!  I'm unable to view messages on the list until I get home
though.  I do however try my best to scout for unanswered questions and
give the best response I can.  Sometimes I have to do some research
before I can do that - sometimes I don't.

If I were in the process of replying to your message, and I saw you
spamming the list like you did, I would cancel my response - even if I
only lacked pressing the "Send" button.

Please don't do that anymore :-)

Eddie

----- Original Message -----
From: "JoAnn Lemm" <jl...@CAMELBACKRA.com>
To: <us...@struts.apache.org>
Sent: Monday, October 25, 2004 6:07 PM
Subject: FW: Serious performance impact with iterator



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">
                         &nbsp;<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">
                 &nbsp;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">
                 &nbsp;Glenda</a>
       </td>

<and more of the same ...>

JoAnn Lemm

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




---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0443-3, 10/22/2004
Tested on: 10/25/2004 7:32:44 PM
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.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