Lets say I have a JSP. When I call my JSP, it'll hit the database and displays the appropriate result. Coming to the point, since my JSP loads huge a value, it takes some time to load my page. So I need a loading gif while my page loads and that gif should disappear when my JSP fully loads. Can anyone help me by giving a sample code for this?
For example my code looks like this:
So can anyone help me where to insert the loading gif code.