I am using CommonsMultipartResolver to upload files.
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver" > <!-- specify maximum file size in bytes --> <property name="maxUploadSize" value="100000"/> </bean
I want to be able to change its maxUploadSize property at runtime (so that the size can be changed by the administrator). What is the best way to do this, please?
java spring spring-mvc file-upload apache-commons-fileupload
ET13
source share