Jaman Burton wrote:
> Does anyone out there have any knowledge on how applications that pull
> alot of data display those pages that say "Please wait while we pull
> your transaction...blah, blah...". Then when their queries are done
> they display the requested information?
Yes. They are called Interstitials, and they are done by setting the 'Refresh'
HTTP header, or with HTML 'META' tags.
Either you can set an HTTP header;
Refresh: 3;http://my-url
or you put a tag into the <HEAD> section of the HTML page;
<META HTTP-EQUIV="Refresh" CONTENT="3;http://my-url">
The browser will show this page for 3 seconds, and then load the page at
http://my-url. The time (in this case, 3 seconds) could, of course, be anything
you want.
If you omit the URL bit completely, it will reload the same page every 'n'
seconds. You could make that refer to a servlet (or CGI, or ASP, or CFML or
what have you) that spawns the transaction. If you write it in a way that
tracks the child process, you can have a very crude progress indicator and then
show the results of the transaction when done.
It is probably better to have it in the HTML rather than in the header, because
it allows you more granular control of which content should be refreshed, and
which should not be.
___________________________________________________________________________
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