I'd guess the "easiest" way is to use the builtin Tomcat functionality for
max
for the smaller number.


Then for the bigger number ... Use a servlet filter for the "special"
urls that slurps the "input stream" and parses the parameters in
application space. And use RequestWrapper to intercept getParameter()
and provide your own parsed value.

-Tim

On Wed, Sep 11, 2024 at 12:31 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:

> All,
>
> Does anyone know if there is a way to limit the number of HTTP
> parameters in a POST request but explicitly allow more parameters for,
> say, a small set of specific URLs?
>
>

Reply via email to