A system for preventing timeout of a client interface accessing a main
Java Servlet executing in a first thread which monitors an application
executing in a second thread. A task status object is accessed by the
application to post its completion state and by the client interface
responsive to a state refresh request to post a state refresh response
including the completion state to the client. The state refresh response
selectively includes a refresh attribute instructing the client to
periodically post the state refresh request. Upon the application going
to completion or error state, subsequent state refresh responses do not
include the refresh attribute.