Hi Team,
I am trying to upload a PDF file of size greater than 1mb(1.16mb) of size i have configured as below,
<bean id="multipartResolver"
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="10485760" />
<property name="maxInMemorySize" value="1048576" />
</bean>
But even after configuring I am getting an error as below,
Request processing failed; nested exception is org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size of 1000000 bytes exceeded; nested exception is org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (1220447) exceeds the configured maximum (1000000)
I am using
tomcat 7 server.
Can anyone please suggest me on how to proceed further.
Thanks in Advance,
D.Srikanth