File tree Expand file tree Collapse file tree
kernel/src/org/apache/axis2/builder
webapp/src/main/java/org/apache/axis2/webapp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ private static List parseRequest(JakartaServletRequestContext requestContext)
125125 JakartaServletFileUpload upload = new JakartaServletFileUpload <>(fileItemFactory );
126126 // There must be a limit.
127127 // This is for contentType="multipart/form-data"
128- upload .setFileCountMax (1L );
128+ upload .setMaxFileCount (1L );
129129 // Parse the request
130130 return upload .parseRequest (requestContext );
131131 }
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ public Redirect doUpload(HttpServletRequest req) throws ServletException {
154154 // There must be a limit. This is for an aar file upload,
155155 // presumably only one. See:
156156 // https://axis.apache.org/axis2/java/core/docs/webadminguide.html#upservice
157- upload .setFileCountMax (1L );
157+ upload .setMaxFileCount (1L );
158158 List <?> items = upload .parseRequest (req );
159159 // Process the uploaded items
160160 Iterator <?> iter = items .iterator ();
You can’t perform that action at this time.
0 commit comments