File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Implementing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Implementing "Page loading...Please wait" " Watch "Implementing "Page loading...Please wait" " New topic

Implementing "Page loading...Please wait"


Joined: Nov 09, 2001
Posts: 8
Hi All,

I am working on a application built using the Spring & Hibernate framework. Page loading...Please wait is very common when we browse the airline reservation websites.

I need to implement "page loading... please wait" page once the submit button is clicked on the search page. The application takes time to get all the records & displays the data in search result page .

I have not come across any such functionality developed using the spring framework when I googled. As the spring framework works on request / response cycle, Does the conventional way of data processing allow me to implement "page loading.. please wait" functionlity" ?

Do I need to use AJAX for implenting the "page loading.. please wait" functionlity" ?

If you have implemeted such functionlity, please help me.

Thank You
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Ajax is one day to handle the issue. I'd display a page that displays the "please waiting" message, and use Ajax to submit the operation. When the operation completes, you can remove the message and show the results, or traverse to a new page.

[Asking smart questions] [About Bear] [Books by Bear]
Mohan Mehra
Ranch Hand

Joined: Jul 28, 2011
Posts: 73
[JSP code removed -- this is not the JSP forum please do not post JSP markup here.]
I agree. Here's the link:
subject: Implementing "Page loading...Please wait"
It's not a secret anymore!