Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why when using com.oreilly.servlet.MultipartRequest or MultipartParser do large uploads fail?

0
Posted

Why when using com.oreilly.servlet.MultipartRequest or MultipartParser do large uploads fail?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123