[ 
https://issues.apache.org/jira/browse/WICKET-6381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16040771#comment-16040771
 ] 

Martin Grigorov commented on WICKET-6381:
-----------------------------------------

For Tomcat you need to configure `maxSwallowSize` 
(https://tomcat.apache.org/tomcat-8.0-doc/config/http.html).
See https://stackoverflow.com/a/44327806/497381

> Form with FileMaxSize cause issue
> ---------------------------------
>
>                 Key: WICKET-6381
>                 URL: https://issues.apache.org/jira/browse/WICKET-6381
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.5.0, 7.7.0
>         Environment: Tomcat 7.0.69 or 8.5.6, windows 7 x64, Firefox 53.0.2 
> (64bits) or Chrome 58.0.3029.110 (64bits)
>            Reporter: Duto
>         Attachments: testUpload.rar
>
>
> If I define a form with setFileMaxSize > 3Mo, when I submit a file (with size 
> superior of parameter FileMaxSize : for example 8Mo) the onError method of 
> AjaxSubmitLink is execute several times and the length of ajax response is 0.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to