title: Grails fileUpload limit
body: <p>I to be able to limit the file upload size for my website. Here is my code:</p>
  
  <pre><code> def p = request.getFile('as')
          if(!a.empty) {
              a.transferTo( new File(abass) )
              response.sendError(200,'Done')
  </code></pre>
  
  <p>Is there a way to do it programmatically, or do I need to change something in a Grails config file?</p>