Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Show gif animation before page load?  RSS feed

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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!