Hi,
I solve the problem by defining following bean:
bean id=*multipartResolver*
class=*
org.springframework.web.multipart.commons.CommonsMultipartResolver*
p:maxUploadSize=*-1*
/
If -1 is set for maximum upload size, then size of file will not be checked.
Best Regards,
Ivan Mladenovic
2010/6/3 Ivan Mladenović pif...@gmail.com
Hi,
I am using the Tomcat 6.0.26 and I try to upload file that is larger than
1 bytes from JSP.
I try to increase the maximum upload size (for post request).
I change the Connector element:
Connector port=8081 protocol=HTTP/1.1 connectionTimeout=2
redirectPort=8444 maxPostSize=50 maxSavePostSize=50 /
But, maximum upload size is 1.
How can I increase maximum upload size?
Thanks in advance.
Best Regards,
Ivan