This content has been marked as final.
Show 2 replies
-
1. rich:fileUpload and null data
ilya_shaikovsky Mar 17, 2011 5:37 AM (in response to apashkev)as you defined
<param-name>createTempFiles</param-name>
<param-value>true</param-value>
you should use getFile instead of getData
-
2. rich:fileUpload and null data
turocabrera Mar 18, 2011 6:20 PM (in response to ilya_shaikovsky)Hi, I use
FileInputStream fileInputStream = new FileInputStream(item.getFile());
file.setData(IOUtils.toByteArray(fileInputStream));
and worked