My scenario: I have an af:inputText component on my page. Maximum size for any single file is 10MB (set in web.xml). When I select a file, that is 1.5gb large for example, and press 'Upload', the system hangs for a long while and after about a minute or two tells me that the file I am trying to upload is too big. What I want to achieve: I want ADF to stop reading the file as soon as the MAX file size has been reached.
Is this possible? What other way can there be to solve this issue?