Skip to content

Commit

Permalink
refactor(spring): replace CommonsMultipartResolver
Browse files Browse the repository at this point in the history
refs #1691
  • Loading branch information
jo-elimu committed Jul 29, 2024
1 parent ee1cf60 commit 3883e2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,6 @@
<version>model-${model.version}</version>
</dependency>

<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<!-- https://repo.maven.apache.org/maven2/commons-fileupload/commons-fileupload/ -->
<version>1.4</version>
</dependency>

<!-- Spring Framework -->
<dependency>
<groupId>org.springframework</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/spring/applicationContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<property name="warnLogCategory" value="CustomSimpleMappingExceptionResolver" />
</bean>

<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<bean id="multipartResolver" class="org.springframework.web.multipart.support.StandardServletMultipartResolver">
<property name="maxUploadSize" value="1073741824" /><!-- 1024MB -->
<property name="defaultEncoding" value="UTF-8" />
</bean>
Expand Down

0 comments on commit 3883e2e

Please sign in to comment.