Why when using com.oreilly.servlet.MultipartRequest or MultipartParser do large uploads fail?
The classes themselves were specifically designed to have no maximum upload size limit (unlike most other file upload utilities), but for your server’s protection the constructor allows you to set a maximum POST size to accept. Any upload larger than the limit is halted. The default maximum is 1 Meg. For a discussion of the difficulties a server has in notifying a client of the error, see the discussion in Java Servlet Programming, 2nd Edition, page 119.