I want to upload data in an excel file. the explanation of my problem is: I have a jsp page which is a report page and has data in tabular form. If the user clicks a button then the present data appears in an excel sheet which the user can then store on his system. I tried doing this by making the contentType = "application/vnd.ms-excel" the resulting excel sheet had all the data but for the cells which had no data were represented with no border length. Can any one please help me with regrd to this.