이지우 - 분쟁사건 처리 상세 > 첨부파일 업로드 파일 크기 제한 100MB > 500MB 수정
This commit is contained in:
parent
f8755c18e3
commit
58c04ce127
@ -78,12 +78,12 @@
|
||||
<!-- MULTIPART RESOLVERS -->
|
||||
<!-- regular spring resolver -->
|
||||
<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" />
|
||||
</bean>
|
||||
<!-- custom multi file resolver -->
|
||||
<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" />
|
||||
</bean>
|
||||
<!-- 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;
|
||||
sizeData = sizeData.toFixed(2);
|
||||
|
||||
if(totFileSize > 100){
|
||||
alert("첨부파일 크기가 100Mbyte를 넘었습니다.");
|
||||
if(totFileSize > 500){
|
||||
alert("첨부파일 크기가 500Mbyte를 넘었습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user