How to show the progress of a process in a jsp or a servlet?

Hey guys..! my application imports data from a remote database into it's database.Now I want to show the user the progress while importing is going on.Otherwise, when importing a very large no. of records it would appear to the user as if the system is hanging on....I think I shall have to use multithreading.Please, tell me how to show the status of the importing process using servlet or jsp?

[403 byte] By [Vinodbhai@suna] at [2007-11-27 10:46:35]
# 1

> Otherwise, when importing a very large no. of

> records it would appear to the user as if the system

> is hanging on....I think I shall have to use

> multithreading.

Not really. Using a page-by-page iterator should be enough in this case.

Search for JSP tags that provide that functionality. There are quite a few of them on the Web.

if for some reason(s) the first solution doesn't apply, then you'll probably have to use a progress bar & threads:

http://www.onjava.com/pub/a/onjava/2003/06/11/jsp_progressbars.html

karma-9a at 2007-7-28 20:19:46 > top of Java-index,Java Essentials,Java Programming...