Well to help all your bored servlet developers...

Ross Rankin <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
:-)

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]

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.