June 2014
Beginner to intermediate
304 pages
7h 25m
English
Let's add the image upload facility to our add products page:
DispatcherServlet-context.xml) for CommonsMultipartResolver, as follows:<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="10240000"/>
</bean>pom.xml; you can find pom.xml under the project root directory itself.pom.xml file. Select the Dependencies tab and click on the Add button of the Dependencies section.commons-fileupload, Artifact Id as commons-fileupload ...