이지우 - 분쟁사건 처리 상세 > 첨부파일 업로드 파일 크기 제한 100MB > 500MB 수정
This commit is contained in:
parent
f8755c18e3
commit
58c04ce127
@ -78,12 +78,12 @@
|
|||||||
<!-- MULTIPART RESOLVERS -->
|
<!-- MULTIPART RESOLVERS -->
|
||||||
<!-- regular spring resolver -->
|
<!-- regular spring resolver -->
|
||||||
<bean id="spring.RegularCommonsMultipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
|
<bean id="spring.RegularCommonsMultipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
|
||||||
<property name="maxUploadSize" value="100000000" />
|
<property name="maxUploadSize" value="550000000" />
|
||||||
<property name="maxInMemorySize" value="100000000" />
|
<property name="maxInMemorySize" value="100000000" />
|
||||||
</bean>
|
</bean>
|
||||||
<!-- custom multi file resolver -->
|
<!-- custom multi file resolver -->
|
||||||
<bean id="local.MultiCommonsMultipartResolver" class="kcc.com.cmm.web.EgovMultipartResolver">
|
<bean id="local.MultiCommonsMultipartResolver" class="kcc.com.cmm.web.EgovMultipartResolver">
|
||||||
<property name="maxUploadSize" value="100000000" />
|
<property name="maxUploadSize" value="550000000" />
|
||||||
<property name="maxInMemorySize" value="100000000" />
|
<property name="maxInMemorySize" value="100000000" />
|
||||||
</bean>
|
</bean>
|
||||||
<!-- choose one from above and alias it to the name Spring expects -->
|
<!-- choose one from above and alias it to the name Spring expects -->
|
||||||
|
|||||||
@ -68,8 +68,8 @@ function jf_upload_set(fileName, reFileName, fileSize, fileType, copyContractYn,
|
|||||||
totFileSize = sizeData;
|
totFileSize = sizeData;
|
||||||
sizeData = sizeData.toFixed(2);
|
sizeData = sizeData.toFixed(2);
|
||||||
|
|
||||||
if(totFileSize > 100){
|
if(totFileSize > 500){
|
||||||
alert("첨부파일 크기가 100Mbyte를 넘었습니다.");
|
alert("첨부파일 크기가 500Mbyte를 넘었습니다.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user