I call a thread class in a jsp page.
The Thread runs a query on the database, insert the results in an arraylist, and returns the arraylist to the jsp page.
The JSP Page inserts the arraylist in a session.
Now all this works fine, except that the page "waits" for the thread to return the arraylist , before it displays anything on the page?
I must be doing something wrong, as this defeats the purpose of the thread?
The content of the page should be displayed whilst the thread is doing the prosessing in the background,. I think
Any help please.