title: Finishing a HttpServletResponse but continue processing
body: <p>I have a situation that seems to fit the Async Servlet 3.0 / Comet situation but all I need to do is return a 200 response code (or other) after accepting the incoming parameters. </p>
  
  <p>Is there a way for a HttpServlet to complete the http request/response handshake and yet continue processing?</p>
  
  <p>Something like...</p>
  
  <pre><code>doPost( req, response ) {
     // verify input params...
     response.setStatus( SC_OK );
     response.close();
     // execute long query
  }     
  </code></pre>
  
  <p>EDIT: Looking at the javax.servlet package - the proper phrasing to my question is </p>
  
  <p>How do I commit a response?</p>
  
  <p>as in Servlet.isCommitted()</p>