비디오 파일 및 그림 파일은 다른 크기이지만 다른 크기는이라고 정의하고 싶습니다.그림 크기의 비디오 크기에 대해 다른 maxUploadSize에 대해 MultipartResolver를 어떻게 구성합니까?
<!-- Configure the multipart resolver -->
<beans:bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<!-- one of the properties available; the maximum file size in bytes -->
<beans:property name="maxUploadSize" value="100000000"/>
</beans:bean>
어떤 아이디어가 있습니까? 일어날 수
동일한 형식으로 이미지 및 비디오 업로드를 허용합니까 ?? –
그것은 API 메소드 구현을위한 것입니다. – durbon
제가 물어볼 의도는, 두 가지 유형의 업로드 또는 각각의 업로드를 처리하는 동일한 메소드가 자체 메소드를 사용한다는 것입니다. –