0 Replies - 1622 Views - Last Post: 17 February 2013 - 12:35 AM

#1 sankalpdamele   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 17-February 13

Displaying Loading gif or waiting message until servlet loads

Posted 17 February 2013 - 12:35 AM

I have a application that invokes a servlet through the URL

The servlet(doGET) then calls the Java Class which returns the query result back to servlet.The servlet then renders the data to the user through a JSP page(response.redirect)

Now it hapens so, when all this happens Page Cannot be displayed is rendered to the useruntil the JSP page is ready to show the data.

How can I show a loading gif or a messgae as soon as the servlet is invoked until the JSP page is loaded with all the required data:

NOTE: As mentioned above, I am first calling the servlet, then Java Class, then JSP.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1