reiern70 commented on PR #1160:
URL: https://github.com/apache/wicket/pull/1160#issuecomment-2869892035

   > IMO this change could be done in `master`, i.e. 10.x. There is no real 
need to create `wicket-11.x` branch yet. If you agree then please delete it!
   
   Yes. This is correct. Initially I thought the problem was the we are using 
fileupload2 for servelt5 specification and that servelet 6 version was needed. 
   
   
![image](https://github.com/user-attachments/assets/5337e312-1287-4844-a60e-847bc3f60e28)
   
   But this was not correct. Using 6 does not solves the problem. After that I 
tried to use tomcat own upload machinery,
   
   
https://github.com/reiern70/file-upload-broken/blob/master/src/main/java/com/mycompany/TomcatMultipartServletWebRequestImpl.java
   
   This didn't work either... Thus, I realized the problem was some change on 
behavior in tomcat 11. Another side effect is wicket filter becomes not so nice 
as you can't use @UploadConfig on filters (and neither use API/code to specify 
upload properties on a filter).
   
   Regarding using tomcat file upload machinery
   
   
https://github.com/reiern70/file-upload-broken/blob/master/src/main/java/com/mycompany/TomcatMultipartServletWebRequestImpl.java#L138
   
   it allows to set a "progress" listener. Thus, you can till support upload 
progress.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to