• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to diaplay a large size jsp page ?  RSS feed

 
mike zhang
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem in displaying a large HTML table, for example with more than 600 rows, on a single jsp page. I wrote a helper class to dynamically generate the HTML table contents and my jsp just simply get it as a bean instance. I found when table row number is large, it can't display. Is there any kind of attribute I can set in my JSP to fix it ?
Thanks,
Mike
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike
The first thing that comes to mind would be to have your bean create a static html file and write its output to that. Then you could just include that file in your jsp.
That might not be the most elegant solution but it was the first one to come to mind - someone else might have a better one
 
Brian Glodde
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With 600 rows, you should consider pagination. That's too much for anyone's eyes to consume!
 
mike zhang
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it seems the problem is the apache web server and JRun can no longer compile such big JSp file. So I am wondering if there is any way to configure the server to make it compile ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!