Hi all,
I wanted to include a feature in my project where
java objects are exported to an excel file and transfered to the requesting user. The entire download function is handled by
struts. The struts snip that does the job is
In the action class i use poi to export java objects to excel and create byte array input stream and assign it to inputStream which has an associated getter method.
Issue: IE fails to download the file when its size is > 206 KB (to be somewhat precise). Firefox downloads but says the file is corrupt. Chrome has no complaint and the file is opened correctly. I am unable to figure out the root cause. It will be great if someone can help me out.