Skip to content

Commit

Permalink
chore(spring): upgrade to spring 6.0.0
Browse files Browse the repository at this point in the history
refs #1796
  • Loading branch information
jo-elimu committed Aug 1, 2024
1 parent ddb7629 commit 3f6ba37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 1 addition & 4 deletions src/main/webapp/WEB-INF/spring/applicationContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@
<property name="warnLogCategory" value="CustomSimpleMappingExceptionResolver" />
</bean>

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

<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" p:order="1" />

Expand Down
5 changes: 0 additions & 5 deletions src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring/applicationContext.xml</param-value>
</init-param>
<multipart-config>
<max-file-size>1073741824</max-file-size><!-- 1024MB -->
<max-request-size>1073741824</max-request-size><!-- 1024MB -->
<file-size-threshold>0</file-size-threshold>
</multipart-config>
</servlet>
<servlet-mapping>
<!-- Map static resources to the default servlet -->
Expand Down

0 comments on commit 3f6ba37

Please sign in to comment.