0 Replies Latest reply on Jun 16, 2011 9:33 AM by nikh123123

    Configuring separate org.richfaces.fileUpload.maxRequestSize for different fileUpload component

    nikh123123

      Hi Guys,

      I have two fileUploads in my application. One for profile photo upload and second for documents fileUpload. Now I want the photo fileUpload to accept file under 2MBs. Whereas I want the docuemnts fileUpload component to allow size upt 100MB. But there's just single context param in web.xml which applies to all fileUpload components. How can I define this size per component?

       

      Using richfaces 4 and mojarra 2.0.4