8 Replies Latest reply on Jun 22, 2009 12:03 PM by nimo22

    fileUpload and maxFileSize does not prevent from upload

    nimo22

      Would it be possible to avoid the upload or the insert of a file into the fileList, if the fileSize exceeds the allowed maxFileSize?

      At the moment, all files will be uploaded and after uploading (into temp-folder), the bean looks, if the file size exceeds the maxFileSize defined in web.xml. If so, then sizeErrorLabel occurs. Would be nicer, to avoid the fileupload of such files from the beginning.