File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Lot of Empty space getting introduced on Page after using struts logic:iterate tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Lot of Empty space getting introduced on Page after using struts logic:iterate tag" Watch "Lot of Empty space getting introduced on Page after using struts logic:iterate tag" New topic
Author

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

Chris Kairns
Greenhorn

Joined: Dec 28, 2009
Posts: 6
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.
 
subject: Lot of Empty space getting introduced on Page after using struts logic:iterate tag