Java Mailing List Archive

http://www.junlu.com/

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

Re: JSP Loading Screen

Campano, Troy

2003-09-04


Yes,
That's what I was using, however nothing got displayed to the screen
until after the page had loaded....so I thought maybe it was a problem
with not enough buffered data had accumulated to push out to the
browser.

Has anyone built a JSP/JDBC loading screen?

Thanks for all your help!

~ Troy Campano ~

-----Original Message-----
From: Martin Gainty [mailto:mgainty@(protected)]
Sent: Thursday, September 04, 2003 4:04 PM
To: JSP-INTEREST@(protected)
Subject: Re: JSP Loading Screen

Troy
You need to trigger the visibility attribute to 'hidden' or 'visible;..
see
http://javascript.internet.com/page-details/preload-page.html

Hth,
Martin Gainty


----- Original Message -----
From: "Campano, Troy" <Troy.Campano@(protected)>
To: <JSP-INTEREST@(protected)>
Sent: Thursday, September 04, 2003 7:10 AM
Subject: JSP Loading Screen


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)
JSP-INTEREST".
For digest: mailto listserv@(protected)
DIGEST".

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

========================================================================
===
To unsubscribe: mailto listserv@(protected)
JSP-INTEREST".
For digest: mailto listserv@(protected)
DIGEST".

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

===========================================================================
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.