Below is a sample JSP showing one way to do a progress bar. The way this code works is that You have both the main part of the page and the progress bar part included in the page in different <div> tags. When the page is first displayed, the main part of the page is visible, but the progress bar is not. When the form is submitted, the JavaScript gowait() function makes the main part of the page invisible and the progress bar visible.
I got the image used in the page (images/progressbar10.gif) by clicking on the "download example code" link in
this page, which is the link I gave you in my last post.
Here is the JSP:
Ideas for this technique were originally gleaned from
this thread.
[ May 24, 2006: Message edited by: Merrill Higginson ]