title: groovy display message while action ended
body: <p>while action executing, it will render "data is processing" on the page, and now i want to display some message after the action is ended, so how do i suppose to do that?</p>
  
  <pre><code> def reader(){
              def thread = Thread.start{
              //my action coding here
              }
  
              render "data is processing"
  
  
             // thread.end(){
             // render "finished"
             // }
  
          }
  </code></pre>