You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@struts.apache.org by "lukaszlenart (via GitHub)" <gi...@apache.org> on 2026/10/16 07:55:48 UTC

[PR] WW-3526 docs: describe how to track file upload progress [struts-site]

lukaszlenart opened a new pull request, #359:
URL: https://github.com/apache/struts-site/pull/359

   Refs [WW-3526](https://issues.apache.org/jira/browse/WW-3526)
   
   WW-3526 asked for a framework-managed upload progress listener. It is being closed as Won't Fix because browsers now report upload progress through `XMLHttpRequest.upload` events. This adds an "Upload Progress" section to `core-developers/action-file-upload.md` covering both options:
   
   - **Client side (recommended):** an `xhr.upload.onprogress` snippet.
   - **Server side:** subclass `JakartaMultiPartRequest`, keep the request from `parse(...)`, set a Commons FileUpload `ProgressListener` in `prepareServletFileUpload(...)`, and register the subclass as a `MultiPartRequest` bean selected by `struts.multipart.parser`.
   
   ## Verification
   
   - The Java example was compiled against current `apache/struts` main core.
   - `bundle exec jekyll build` succeeds, and the new section renders.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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: notifications-unsubscribe@struts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] WW-3526 docs: describe how to track file upload progress [struts-site]

Posted by "lukaszlenart (via GitHub)" <gi...@apache.org>.
lukaszlenart merged PR #359:
URL: https://github.com/apache/struts-site/pull/359


-- 
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: notifications-unsubscribe@struts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] WW-3526 docs: describe how to track file upload progress [struts-site]

Posted by "asf-ci (via GitHub)" <gi...@apache.org>.
asf-ci commented on PR #359:
URL: https://github.com/apache/struts-site/pull/359#issuecomment-6210934735

   Staged site is ready at https://struts.staged.apache.org/


-- 
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: notifications-unsubscribe@struts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org