[ https://issues.apache.org/jira/browse/WW-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17347289#comment-17347289 ]
icecanh commented on WW-5127: ----------------------------- [~lukaszlenart] I have seen the Struts 2.5.26 documentation about setting max size for file uploads. https://struts.apache.org/core-developers/file-upload.html#request-validation If not specified, the default will be 2 MB. At struts.xml I have specified the max size to be 650MB. <constant name="struts.multipart.maxSize" value="681574400" /> However, when uploading the file, the following problem occurred When uploading a file of 115MB, there is no problem. An error occurred while uploading a 150MB file. (I only uploaded one 150MB file) Is there a setting other than struts.multipart.maxSize that blocks the request? > Response 404 when migration to Struts 2.5 in Xamarin > ---------------------------------------------------- > > Key: WW-5127 > URL: https://issues.apache.org/jira/browse/WW-5127 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.5.25, 2.5.26 > Environment: *Current version* > org.apache.struts:struts2-core:2.5.26 > org.apache.struts:struts2-jfreechart-plugin:2.5.26 > org.apache.struts:struts2-json-plugin:2.5.26 > org.apache.struts:struts2-junit-plugin:2.5.26 > org.apache.struts:struts2-tiles-plugin:2.5.26 > *Previous version* > org.apache.struts:struts2-core:2.3.34 > org.apache.struts:struts2-jfreechart-plugin:2.3.34 > org.apache.struts:struts2-json-plugin:2.3.34 > org.apache.struts:struts2-junit-plugin:2.3.34 > org.apache.struts:struts2-tiles-plugin:2.3.34 > Reporter: icecanh > Priority: Major > > I am using Struts2 as 1 server API and Xamarin as a Client. > I have the function of uploading files. > I used HTTPClient.PostAsync to request the server. > At version 2.3.34, it completes the upload and response 200. > But after migration struts from 2.3.34 to 2.5.26, I get a 404 response when > sending a request to the server API. > I think the response 404 is because it cannot map to the action. > Has there been a change in version 2.5.26 that affects the action mapping? > This problem also occurs in version 2.5.25. > Thank you for reading and if possible please help. -- This message was sent by Atlassian Jira (v8.3.4#803005)