Use FormFile.getInputStream,
November 5, 2007 at 10:39 PM
The use of getFileData() should be discouraged in favour of getInputStream on the FormFile object.
The reason being is in terms of memory management it is more efficient to get the file data in multiple chunks as opposed to getting the whole byte array of data in one go.
View All Comments
| View Tutorial