Spring: Upload pliku w Spring Web Flow

xhtml: 1 2 3 4 <h:form enctype="multipart/form-data"> <input type="file" name="file" /> <h:commandButton action="upload" value="Ok" /> </h:form><h:form enctype="multipart/form-data"> <input type="file" name="file" /> <h:commandButton action="upload" value="Ok" /> </h:form> beans.xml: 1 2 3 <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <property name="maxUploadSize" value="100000"/> </bean><bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <property name="maxUploadSize" value="100000"/> </bean> flow.xml: 1 2 3 4 5 6 7 8 9 10 11 Read more about Spring: Upload pliku w Spring Web Flow[…]