aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes An HTML page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "An HTML page " Watch "An HTML page " New topic
Author

An HTML page

Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
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 ?
Thanks,
Maya
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

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.


SCJP
Visit my download page
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: An HTML page