More than the maximum number of request parameters (GET plus POST) for a single request ([10,000]) were detected. Any parameters beyond this limit have been ignored.
To change this limit, set the maxParameterCount attribute on the Connector.
开发过程中,问了方便起见直接使用form表单提交,一直没发现问题,数据量比较大时发现会出现数据丢失。
一直没找到原因,仔细看一下发现报上述错误
配置maxParameterCount="-1"(tomcat9),使其参数数量不受限制;
配置maxPostSize="-1"是为了限制数据量的内容大小。
至此,解决了该问题