Posted on 2004-09-20
When I submit a page to JSP server , due to backend SQL query processing , it takes time of abt 3-4 minutes to show the result or response on the web page . I would like to add some progress bar like reporting in that front end unil all the backend processing over and to display the results.
Can anyone please suggest me some standard way of implementing the above requirement .
I have thought of splitting the backend process to 'n' queries and calling them one by one in the same page after succesful execution of each by redirecting the same page for next queries executions until all are executed. I will store the results in temp table every time and show the results after all queries completed.
(or) Is there any way of writing a component which will be written to pole and find the percentage of work completed .
Please suggest some best practise to achieve this.