Apache File Upload Exception while uploading files greater than 2 MB
You also need to add this to your web.xml. The size is in octets
<context-param> <param-name>maxSize</param-name> <param-value>100000</param-value> </context-param>