What do you do if one of your actions takes five minutes to complete and you don’t want your user worried or sleepy? Show a progress meter! In a web application writing a progress meter is not an easy task, you would spend at least days on it. Happily, Struts has an easy to use interceptor, Execute and Wait, that is good at emulating a progress meter for heavy tasks.
This chapter shows you how to use this interceptor.
Time consuming tasks, ones that take minutes, should be handled differently in web applications than they are in desktop programs. They pose more risks in the former because HTTP connections may time out, something not possibly occurring in the latter.
The Execute and Wait ...