Tuesday, October 22, 2013

Uploading Large Files from ADF 11g Applications

In ADF upload component if we want to increase upload file size we have to keep below code in web.xml.

<context-param>
    <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE</param-name>
    <param-value>20971520</param-value>
  </context-param>

if we set adf instead of apache that use to throw "The file could not be uploaded because it is too large" error on upload component.


No comments:

Post a Comment