| Author |
Tables in JSP Report
|
raj kothari
Greenhorn
Joined: Nov 21, 2005
Posts: 24
|
|
I have a JSP Report which retrieves a huge data. If I put all records in one html table, the data displayed after the report is over and takes some time. I am using now html table tag for each row of report. I use <table><tr>table data for each row etc..</tr></table> In this case, the data starts displaying immediately and continues to load. It looks very fast from the user's angle. but is there any disadvantage internally doing this?
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
I'm guessing that the browser holds off displaying the table until it knows it has the entire thing. The only disadvantage I can see is that with separate tables for each row, you may have trouble keeping the columns lined up unless you're setting specific widths with CSS. As far as the server side Java/JSP goes, it's all just text. JSPs aren't aware of HTML or Javascript. All of that is interpreted in the browser.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
Moved to the HTML forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Tables in JSP Report
|
|
|