<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="524288"></property>
<property name="defaultEncoding" value="UTF-8"></property>
</bean>
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="524288"></property>
<property name="defaultEncoding" value="UTF-8"></property>
</bean>
本文标题:spring MVC 上传文件大小设置
本文链接:https://www.haomeiwen.com/subject/pdclgctx.html
网友评论