title: Struts2 Upload File, validating size and content type file before send file
body: <p>I have a problem with Struts 2 and its file upload interceptor. It is have validated my content type and my file size, but the upload process dont stop.
  Example my upload limit is 2Mb and user send a file with 500MB, the interceptor struts 2 log that file is too larger, but continue upload file</p>
  
  <p>I'd like to stop the upload process, in error case, beacuse the struts2 have returned to my page only when the sending file is finished.</p>
  
  <p>Thanks</p>