title: The request was rejected because its size exceeds the configured maximum
body: <p>I have a WAR application with two servlets deployed into a Tomcat7 server. One of these servlets is to all catch RESTfull web service.
  When I try to upload a file (with multipart mode); the server throws the follwing exception:</p>
  
  <pre><code>org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (2539037) exceeds the configured maximum (2097152)
      at org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.parseRequest(StandardMultipartHttpServletRequest.java:99)
      at org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.&lt;init&gt;(StandardMultipartHttpServletRequest.java:77)
      at org.springframework.web.multipart.support.StandardServletMultipartResolver.resolveMultipart(StandardServletMultipartResolver.java:76)
      at org.springframework.web.multipart.support.MultipartFilter.doFilterInternal(MultipartFilter.java:110)
  </code></pre>