Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Show gif animation before page load?  RSS feed

James Fang
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!