Lot of Empty space getting introduced on Page after using struts logic:iterate tag
posted 7 years ago
I am facing a strange problem while rendering a JSP page using logic iterate tag. I am using the tag something as below;
Don't try to run this as there may be some errors here and there as I have updated some of the variable names. My version of this code works just fine. So please don't try to find errors and waste your time on writing things like "How this will work? There is a error here and there" this and that. Please don't misunderstand me.
Now let us turn to the real problem. The DataList is actually a list and has a lot of data in it. So it takes a little longer to execute. Now the problem is it introduces a lot of empty space on the page and also in the page source. I am not getting, from where the new lines are getting introduced in the page.
Does anybody know, how to get around this problem, keeping the above code structure intact?
I really appreciate all of you helper's time and help.