The excel report is displayed as junk data as shown below irrespective of the api i am using in the unix environment. But the same code is working fine in the windows env. i have tried with POI and JXL APIs.
I guess i need to do some additional config for content type. Pls help me asap.
I need to display the summary of transactions in the excel sheet. I have tried with both POI and JXL to complete this functionality. Its working fine in my dev machine(Windows). But when i moved to the prod env (unix machine), its dispayed the data as shown below. My code goes as below:
So the file that is generated is valid in the sense that Excel can open and display it on Windows. That's good. So: Which program are you using on Unix that can't display the file? As Jesper points out, XLS files are binary files - you can't display them on the command line.