• Post Reply Bookmark Topic Watch Topic
  • New Topic

Lot of Empty space getting introduced on Page after using struts logic:iterate tag  RSS feed

Chris Kairns
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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.

Thank you very much !
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!