i have a form on a page that when submitted calls a controller for
another page.
this controller then performs an action, and populates an array.

how would you go about displaying the current contents of the array in
the view, while it is still being populated.

so it gets udated as the action is being performed.