Hi Mark,
Thank you for your reply.
For use-cases where we might not have (easy) access to the Tomcat-server
config in the run environment:
Is there a way to access the Connector object, or a different solution inside
the Servlet to raise this limit to circumvent possible problems when up
On 14/06/2025 07:37, Fabian Hahn wrote:
An easy way to increase the number of form input-fields past 10 for a multipart
request
in Tomcat 11.0.8 would be:
/usr/local/tomcat/conf/server.xml
...
...
Mark, is there a solution in HttpServlet#doPost, #init(), or @MultipartConfig?
An easy way to increase the number of form input-fields past 10 for a multipart
request
in Tomcat 11.0.8 would be:
/usr/local/tomcat/conf/server.xml
...
...
Mark, is there a solution in HttpServlet#doPost, #init(), or @MultipartConfig?
Greetings,
Fabian
Mark Thomas wrote - F
Thanks for your quick answer.
I think the chosen default value of "10" is very low and will possibly
break many existing applications. Hopefully it can be increased.
Thanks & Best regards,
Matthias
On 13/06/2025 13:46, Mark Thomas wrote:
https://tomcat.apache.org/tomcat-11.0-doc/config/http.
https://tomcat.apache.org/tomcat-11.0-doc/config/http.html
You'll need to increase maxPartCount
Mark
On 13/06/2025 15:13, Matthias Reischenbacher wrote:
Hi,
after upgrading from 11.0.6 to 11.0.8 a form multi part POST stopped
working with the exception:
org.apache.tomcat.util.http.Invalid
Hi,
after upgrading from 11.0.6 to 11.0.8 a form multi part POST stopped
working with the exception:
org.apache.tomcat.util.http.InvalidParameterException:
org.apache.tomcat.util.http.fileupload.impl.FileCountLimitExceededException:
attachment
org.apache.catalina.connector.Request.doParsePa
Hi,
after upgrading from 11.0.6 to 11.0.8 a form multi part POST stopped
working with the exception:
org.apache.tomcat.util.http.InvalidParameterException:
org.apache.tomcat.util.http.fileupload.impl.FileCountLimitExceededException:
attachment
org.apache.catalina.connector.Request.doParsePa