Re: Well to help all your bored servlet developers...
Eric Noriega <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <[email protected]> |
If you really want all of the items in one list I would use
Cascading Style Sheets to set the option "table-layout: fixed". This
would require that your header line define the correct column widths.
This is CSS2. You may need to define the correct <doctype> to get it
to work.
Ross Rankin wrote:
> J
>
> I need some help. I have a servlet that generates about 150 items and
> creates an HTML table. It takes about 45 - 60 seconds to run.
>
> First, I would like to create pages with 20 - 30 items per page. I
> through of a way to do this with JavaScript and DIV tags but we know
> why that isn't the best solution for multi-browser support and doesn't
> help with the issue below.
>
> Second, I would like to provide the illusion of speed where as soon as
> the servlet is done with the first 20 results, throw up the HTML and
> let the process keep going with the other 130 while the users looks at
> the first 20.
>
> I'm using Tomcat as the server and don't have an issue with JSP if
> that helps. My attempts have failed. It seems that it just buffers
> everything I try to send why the servlet is running until it finishes.
>
> Thanks!
>
> Ross
>
>
>
> Ross Rankin
>
> [email protected] <mailto:[email protected]>
>
> 404-667-1072
>
>
>
> CareerFish
>
> http://www.careerfish.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