Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JSP Interest »

JSP Loading Screen

Campano, Troy

2003-09-04

Replies:

Is there any way to make a JSP loading screen for pages that take a long
time to load?

For example, I have a JSP page that returns many rows from a database
via JDBC.
While it's fetching the rows it takes a while for the page to load.
During that time I'd like to have the page display a message saying
"Please wait while the page loads".

I tried to do something with JavaScript that displays a message Body
onLoad and then it goes away when the page finishes loading, but it
didn't work.

Any ideas on a way I could do this with JSP?
Maybe something with the buffer?

Thank you!

~ Troy Campano ~

===========================================================================
To unsubscribe: mailto listserv@(protected)".
For digest: mailto listserv@(protected)".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com


©2008 junlu.com - Jax Systems, LLC, U.S.A.