$vi webapps/manager/WEB-INF/web.xml
를 확인하면 아래와 같은 옵션이 있다. 아래 부분을 업로드할 사이즈에 맞게 조정하면 된다.
<multipart-config>
<max-file-size>52428800</max-file-size>
<max-request-size>52428800</max-request-size>
<file-size-threshold>0<</file-size-threshold>
</multipart-config>
기본 50M
또는
/WEB-INF/spring/appServlet/servlet-context.xml:
<beans:property name="maxUploadSize" value="5242880"></beans:property>
부분에서 조절 가능함.
댓글