有没有办法限制发送到服务器的“表单参数”的数量?
Is there any way to put limit on the number of `form parameters` to send to the server?
我正在使用 Grails 2.2,并且我有一个可以发送大量电子邮件的电子邮件表单。此表单通过 POST
请求提交给服务器。此表单有很多复选框 select 要将消息发送到的电子邮件。电子邮件的数量可以大于 1000。显然,grails 对通过 POST 发送的表单参数的数量有限制,我想我已经超过了这个限制。
下面是发送到服务器的 post 参数的示例。参数的数量可以比显示的样本大很多。
_select_all:
_select_all:
_participant:
_select_all:
_select_all:
_participant:
_select_all:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
subject:test
body:test
emails:asd@asd.com
count_emails:0
create:Send
自 Grails 2.2
以来,我无法增加表单参数限制大小。这个限制是在 2.2 之后的 Grails 中添加的。所以,我想知道有哪些方法可以减少这些参数。我想的一种方法是使用 javascript 以某种方式限制参数的数量,并使用 ajax 而不是正常的表单提交来发送 post 请求。我感谢任何意见。谢谢!
无需放置任何 limit
或增加允许参数的 default
数量,您只需将参数数量减少 pushing
所有 email recipent
到list
正在提交表单。
同样在这种情况下,当您发送大量数据时,可能会超过 request content
的 size
。
提供了配置参数来更改此 setting.You 需要为此更改您的默认 tomcat 配置。
您可以找到更多详细信息 。
我正在使用 Grails 2.2,并且我有一个可以发送大量电子邮件的电子邮件表单。此表单通过 POST
请求提交给服务器。此表单有很多复选框 select 要将消息发送到的电子邮件。电子邮件的数量可以大于 1000。显然,grails 对通过 POST 发送的表单参数的数量有限制,我想我已经超过了这个限制。
下面是发送到服务器的 post 参数的示例。参数的数量可以比显示的样本大很多。
_select_all:
_select_all:
_participant:
_select_all:
_select_all:
_participant:
_select_all:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_select_all:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
_participant:
subject:test
body:test
emails:asd@asd.com
count_emails:0
create:Send
自 Grails 2.2
以来,我无法增加表单参数限制大小。这个限制是在 2.2 之后的 Grails 中添加的。所以,我想知道有哪些方法可以减少这些参数。我想的一种方法是使用 javascript 以某种方式限制参数的数量,并使用 ajax 而不是正常的表单提交来发送 post 请求。我感谢任何意见。谢谢!
无需放置任何 limit
或增加允许参数的 default
数量,您只需将参数数量减少 pushing
所有 email recipent
到list
正在提交表单。
同样在这种情况下,当您发送大量数据时,可能会超过 request content
的 size
。
提供了配置参数来更改此 setting.You 需要为此更改您的默认 tomcat 配置。
您可以找到更多详细信息