Hi Ron,

Make sure you <img> tags include height= and width= attributes (which
match the acutal size of the graphic).  This will allow most browsers to
layout and display tables before the image has been downloaded, as it
will already know how much space to allow.  Similarly, hardcoding the
width of table cells can also help this pre-layout, as the browser
doesn't have to get the whole table downloaded to know size of each
column.  I don't like this so much because I rely on the dynamic sizing
of table columns.

Also, breaking very long tables into a number of shorter ones can also
help.

Regards

Drew

> -----Original Message-----
> From: Ron Parker [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 23, 1999 5:11 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Blank Screen
>
> As I study it more, it appears that this is probably more of an .html
> issue.  I
> don't think its the DB processing that is making the page loading take
> so long,
> I think its also the fact that the page has some good sized graphics
> to load,
> and they are all in a table (generated by Netobjects Fusion).
>
> Assuming I can't change the browser, is it programatically possible to
> get the
> table to start displaying before it finishes loading?  Can I do this
> by
> increasing or decreasing buffer size using jsp tag?
>
> Thanks.
>
> -ron
>
> Carsten Heyl wrote:
>
> > >The screen goes blank because the web server has begun sending
> > >information back to the browser, but either (a) no visual page
> content
> > >has been returned, or (b) not enough of a display structure (like a
> > >table) has been returned (The </table> tag needs to be turned
> before
> > >some browsers will attempt to render the table.).
> > >
> > >This raises two points on which I haven't seen discussion or
> > >documentation:
> > >
> > >(1) Other Hybrid Document Definition Systems (specifically MS ASP)
> have
> > >a page-level facility called "buffering", wherein no output is sent
> back
> > >to teh web server (for forwarding to the browser) until the entire
> > >document is complete.  The emmitted code I saw just generates lots
> of
> > >"out.print", so I assume no buffering is happening at this level.
> > >
> > >Does GNUJSP, JServ(in my case), or J(W)SDK support buffering?
> >
> > The output is buffered by the JspWriter contained in out.
> > Default buffer size is 8kb. That can be adjusted using the page
> directive
> > buffersize. Thats in Spec 1.0.
> >
> > >If you need to hit the database before displaying the next
> contents,
> > >buffering would help.
> > >
> > >       - Dan
> > >
> > >Ron Parker wrote:
> > >>
> > >> 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
> > >
> >
> > Ciao,
> >         Carsten Heyl
> >
> >   Carsten Heyl                          [EMAIL PROTECTED]
> >   NADS - Solutions on Nets              http://www.nads.de/
> >   NADS GmbH                             http://www.pixelboxx.de/
> >   Hildebrandtstr. 4E                    Tel.: +49 211 933 02-90
> > D-40215 Duesseldorf                     Fax.: +49 211 933 02-93
>
> --
> 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