*
The moose likes Servlets and the fly likes Please wait while page is loading... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Please wait while page is loading..." Watch "Please wait while page is loading..." New topic
Author

Please wait while page is loading...

Jesse Elder
Greenhorn

Joined: Apr 17, 2002
Posts: 8
Fairly new to using servlet and not totally familiar with client-server technology. Looking for a way to do the following:
-User clicks a link that leads to a servlet.
-While that servlet is loading, the server send to the user a temporary message page indicating: Please wait while the server loads the page.
-When the server is finished all server side processing and is ready to push the page, the server then replaces the temporary message page with the user-requested page.
Not sure how to implement. Any help would be great.
Eelco den Heijer
Ranch Hand

Joined: Jan 17, 2002
Posts: 61
Hi,
Post all your data to a wait page; this wait page displays a message saying "please wait blah blah". The Wait page copies all the parameters of the requests, and posts them to the servlet using a something like:

The wait page then forwards itself to the servlet, and while the server is busy, it displays the "wait bla bla" message.
One small remark: your 'Back' button navigation will change it bit, because you've stuffed a page in between the form and the result (you'll know what I mean when you see the bug report
Hope this helps.


== <br />Rgrds,<br />Eelco<br /> <br />SCJP, SCJD, SCBCD, SCWD, SCEA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Please wait while page is loading...