11 Replies Latest reply on Jun 24, 2015 1:16 AM by bhanu prakash

    rich:upload fileUploadListener not called for large files

    Pradeepa Kadiyala Newbie

      I have a rich:upload segment in my code which was working fine until now. All of a sudden it started to behave weird. For small size files say upto 100KB, the file:uploadListener gets called when I click on the Choose File button and file gets uploaded. But somehow the same does not happen for files greater than 100KB. I have the following in my web.xml for file upload restriction:


      Following is my xhtml code:

      <rich:fileUpload fileUploadListener="#{myBean.uploadFileData}" id="upload"  
        immediateUpload="true" render="@form" addLabel="Choose File">
        <a4j:ajax render="@form" execute="@form" event="uploadcomplete"/>


      Message was edited by: Pradeepa Kadiyala