I've been running into a problem whose solution is not apparent, and Google searches have been useless so far.
The Richfaces component <rich:fileUpload> allows us to upload files from the client machine to the server. A couple of settings may be set through its attributes such as "maxFilesQuantity", "listHeight", "acceptedTypes", etc.
The size per file is something defined in the web.xml, the
I can vary that size without problems, the problem is that if I upload a spreadsheet with 20 rows, the operation completes successfully. However, if the number of rows is, let's say, 3000, the operation fails, the message "An error occurred" is returned.
Has anyone ever experienced such a problem?
Thanks in advance!
DJ aspirant, Engineering undergraduate, Tokusatsus addicted, fond of English language and Asia's, Buddhist, blogger, etc. I'll need to insert all these attributes in a Java class and manage to create methods for handling my overwhelming life
Actually, the size of the file is 850KB. Around 500KB was a test I had done with an intermediate number of rows.
Much to my surprise, it is working now... what have I done to fix it? It's simple, I have no idea, I just added some attributes to the fileUpload tag which are not a must for it to work (at least it is not mentioned anywhere) and it began to work. The attributes are: