views:

68

answers:

3

I have a client who is building a business application that will be used with IE8 only.

One of the requirements is to display all of the data in a single page. I am anticipating this data table to be somewhere between 3K - 10K pixels in length. In the worst case scenarios, more than 25K pixels.

What are the technical considerations when serving a page that long? Is there a limit on page length and IE would display a error?

The application is Java/Struts based.

+1  A: 

Try it with:

<%
for (int i = 0; i < 25000; i ++) {
  %>test<br /><%
}
%>
Bozho
+3  A: 

Try using this Javascript:

<html>
<head>
<script>
window.onload=function(){
    var i=10000;
    var buff='';
    while(--i){
        buff+='<br />';
    }
    document.body.innerHTML=buff;
}
</script>
</head>
</html>
M28
Test results: 25K is good, 100K is okay, 250K works but has a long delay.
Christopher Altman
+2  A: 

The theoretical answer: Your machine resources are finite - so yes, there's a limit.

The practical answer: Take a look at other very long pages, e.g. http://svnbook.red-bean.com/en/1.5/svn-book.html

Chris Lercher