wood burning stoves
The moose likes Servlets and the fly likes Show gif animation before page load? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Show gif animation before page load?" Watch "Show gif animation before page load?" New topic

Show gif animation before page load?

James Fang

Joined: Oct 05, 2001
Posts: 2
What I hope to do is that after my form sent to a servlet, my javascript will open a window, then the servlet will get huge data from database and that will take some minutes. Meanwhile, i hope to should an animation in that page (to let client waiting for the result) then the result html with replace the animation after all data generated. But my problem is that the animation is halted when the window is waiting for the result page. Would anybody please tell me what is the right solution for that case.
Thank a lot for consideration.
eric sato
Ranch Hand

Joined: Oct 01, 2002
Posts: 37
hi James,
For my understanding, browser does not support multipart and server push. Maybe u can tweak by using pushlet concept. Pls follow this link. it may help u, http://www.javaworld.com/javaworld/jw-03-2000/jw-03-pushlet.html.
Happy Coding
eric sato

If you can't change the direction the the wind, change your sail.
I agree. Here's the link: http://aspose.com/file-tools
subject: Show gif animation before page load?
It's not a secret anymore!