JSP :: Please Wait Page

Hi,

I have a jsp page which displays over 100 records from the database. While the fetching is done it shows me a blank screen. How can i avoid it? I want to show the user a page which displays a waiting message, while in the background the fecthing of the recodrs is processed. and as soon as the fetching is done..i want to redirect to it.

please help me out on this.

Thanks in advance.

[434 byte] By [rinkub] at [2007-9-26 3:01:07]
# 1

One way to do this is...

Insert a page between the requesting page and the actual page that fetches the records.

In short if you have some thing like A -- > C (where A is the page that carries a link to C and C is the page that fetches the records), change it to A --> B --> C(where B is a page on which you display your nice 'Wait' message. In the source code for B, put an HTML meta tag like...

<head>

<meta http-equiv="Refresh" content="0; url=<put the URL pointing to page C here>">

</head>

neville_sequeira at 2007-6-29 10:58:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...