Here are a few notes from my experience:

1.    Netscape's rendering techniques make page loads seem longer because
the html document is downloaded and then rendered...in the meantime there is
a blank screen until the page "pops" into view. The rendering appears to be
slowest in Netscape for Linux. Internet Explorer has some optimization
schemes which result in the page being rendered before the whole document
has been downloaded - the screen transitions are not as noticeable. In rare
circumstances this can cause problems though if there is a firewall lag,
etc. So the short suggestion here is, try IE.

2.    If the jsp has not been accessed since you started the jsp/servlet
runner, it will compile on the first access. This causes a noticeable lag.
The next time the page is accessed, it will be faster.

3.    The first two where the easy suggestions. If the transitions are still
unacceptable, you can buffer the html output and flush it at periodic
intervals or all at once. Check out Jason Hunters book "Java Servlet
Programming" for some techniques.

4.    If you are performing a lengthy calculation that lasts more than a few
seconds, there are other methods such as using server push to push pages in
succession, perhaps showing an updating status bar or a message. I have
never had to resort to this though, even with intensive Oracle queries.

-B
----- Original Message -----
From: Ron Parker <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 20, 1999 9:24 PM
Subject: Blank Screen


> I've created a .jsp which does a bunch of database handling.  I'm using
> the same page for insert, select and update functions, so the .jsp is
> basically calling itself on each submit.  When submit is pressed,
> however, the screen goes blank for several seconds before the page
> reloads and processes request.  How can I either stop the screen from
> going blank, or print some message on the blank screen while the .jsp is
> reloading and processing?  Thanks.
>
> -ron
>
> --
> Ron Parker
> Software Creations            http://www.scbbs.com
> TradeWinds Publishing         http://www.intl-trade.com
> TradePoint Los Angeles        http://www.tradepointla.org
> SiteDirector Security Server  http://livepublish.scbbs.com
> Civil War Online Library      http://civilwar.scbbs.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to