• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

An HTML page

Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have an HTML/jsp page, actually a jsp page which will be populated dynamically with the values from the database.
Now this database can return 1000s of records in the real time environment.
Now the problem is a DISPLAY problem for the html.
I have an image which is set as a background for the body of this html page. It is set as this :
<body text=#000000 link=#000000 vlink=#000000 alink=#000000 background="/images/bg_main.gif" >
Now because of the huge amount of data, when all these data comes to the page, I see these pages displaying this image multiple times. ie, when the page becomes bigger after a particular length, the image is getting generated again and again.
How can I avoid this problem without using frames ?
Ranch Hand
Posts: 4716
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
no. if you use a single image as the background you have to know how big the page will be and make the image the same size(actually larger is better in case the visitor has a higher resolution setting). you could have the image just at the top and fade it into a solid color at the bottom(and right side too maybe). if that sounds good i have seen that done. or you can forget that image and maybe use a small image that tiles well. loading a full screen image is slow on dial-up modems as well and getting info from the database is slow also(especially in netscape i have noticed).
Dont blindly believe everything I say.
    Bookmark Topic Watch Topic
  • New Topic