<!-- 文件上传表单的视图解析器 -->
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver" p:defaultEncoding="utf-8">
<!--1024*1024*20即20M--> <property name="maxUploadSize" value="20971520" /> </bean>
<!-- 文件上传表单的视图解析器 -->
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver" p:defaultEncoding="utf-8">
<!--1024*1024*20即20M--> <property name="maxUploadSize" value="20971520" /> </bean>