Hi,
     What about something like this
http://jsptags.com/tags/navigation/pager/
bye,
Mohan

-----Original Message-----
From: Markus Gieppner [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 1:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Large Table


Tim,

The problem is probably not so much the horizontal but the vertical size of
the table. While IE is a bit smarter in that regards, Netscape certainly is
going to choke badly on that one. I think someone said this before, and I
confirm this only: A workaround is to create smaller tables (every 50 or 100
records ) that both browsers can render while more information streams in.

In any event, with an html-file of that size (probably in the scale of
4-5MB ) you actually risk to not only crash the browser (especially older
Netscapes) but even undercapitalized -low memory- computers. Browsers aren't
really designed for that.

About your tempfile:
"...But how do we know when to delete them?"

Well, when the data has changed!

Markus


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Chen,
Gin
Sent: Friday, May 10, 2002 1:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Large Table


Hey Richard,
        Yea thats a solution that we've been currently investigating.
Problem with that is that we dont want the files to just accumulate on the
server so we need a mechanism to delete the files. But how do we know when
to delete them?
Any experience with something like this? I know I could probably just run a
thread and wait a certain amount of time but I really dont want threads
running in my Server.
Thanks,
-Tim

-----Original Message-----
From: Richard Yee [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 1:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Large Table


Gin,
Why don't you just have the servlet write the data out as a temporary file
and then return a link to it. You will then be able to close the connection
sooner and possibly compress the data to make the download go faster.

Regards,

Richard

At 01:08 PM 5/10/2002 -0400, you wrote:
>that's actually exactly what it is.
>it's a report that gets displayed online.
>It's offered in both tsv and html format.
>but right now, we're having alot of problems with the time it takes to send
>both to the client
>html is actually worse than the tsv method by almost 10xs.
>Even so, i'm trying to find ways to send the tsv faster as well but that
>doesnt appear likely (how much faster than setting contenttype to excel and
>sending a String to out can u get??).
>-Tim
>
>-----Original Message-----
>From: Dror Matalon [mailto:[EMAIL PROTECTED]]
>Sent: Friday, May 10, 2002 12:57 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Large Table
>
>
>Actually sending it as XML and having the client render it using
>an XSL might make it much faster assuming the client does the
>transformation. IE does that, I'm not sure about the latest versions
>of Netscape.
>
>The reason it takes so long is that the browser needs to make a lot of
>decisions and rendering calculations to figure out how to display
>the table "correctly." It can't do these until it's seen *ALL* of the
>data. For instance the width of the columns could be affected by
>the amount of text you have in the last row of your table.
>
>You don't need to use javascript to do this. AFAIK the XSLT should work
>out of the box.
>
>By the way, why do you need to handle this many rows? The only
>reason that I can think of that would justify this exercise is if
>you need to print a report.
>
>Dror
>
>On Fri, May 10, 2002 at 11:31:56AM -0400, Chen, Gin wrote:
> > Thanks for the many great inputs on this.
> > Just out of curiosity, perhaps the XML will help out a bit though. I
also
> > have the data sent as a TSV (not file just String displayed with excel
as
> > the content type)
> > and it displays MUCH faster than the HTML version.
> > But then to display it on the client side as useful text, I'll have to
set
> > up with an XSL. Would the translation take as long or longer than the
> > current method of just sending HTML? Anyone have experience in the
> > performance of it this way with large amounts of data?
> > I know I can use javascript and client side translation of XML using the
> > Microsoft XSLT plugin but I have the restriction of not using any client
> > side installs.
> > Does anyone know a way to translate an XML clientside to HTML without
>using
> > a plugin?
> >
> > Thanks,
> > -Tim
> >
> > -----Original Message-----
> > From: Michael Weller [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 10, 2002 7:55 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Large Table
> >
> >
> > hi!
> > i think this wouldn't speed up the displaying progess, because the
client
> > still needs to download all the data before it can display it (and now
> > there's another step involved: the client-side xml rendering).
> > split the table up in multiple ones, so the client can display one small
> > table after the other.
> >
> > -mw
> >
> > ----- Original Message -----
> > From: Silvio dos  <mailto:[EMAIL PROTECTED]> Passos Neto
> > To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > Sent: Friday, May 10, 2002 1:36 PM
> > Subject: Large Table
> >
> > Hi,
> >
> > If you can put the table data into a XML document, you'll can write the
> > table using a JavaScript to read the XML. Then, you will write the table
>on
> > client-side.
> >
> > Is it works?
> >
> > Silvio dos Passos Neto
> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > Webwork M�dia Interativa
> >
>
>--
>Dror Matalon
>Zapatec Inc
>1700 MLK Way
>Berkeley, CA 94709
>http://www.zapatec.com
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.361 / Virus Database: 199 - Release Date: 5/7/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.361 / Virus Database: 199 - Release Date: 5/7/2002

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to