title: HTTP request timeout while the task is running on the server
body: <p>I have a Java EE based web application running on Tomcat and Spring 3.0. My web page sends a request to delete a large set of records. While the request in running in the background I get a timeout error saying: "An internal error occurred".</p>
  
  <p>I think it's a browser timeout issue. Is there a way to fix it? 
  In Tomcat's web.xml the session timeout is set to 30.</p>
  
  <p>Do I need to use some Ajax callback instead of post request?</p>