Hello,
I'm trying to export my results to .xls file. The following is the code which I have in my .jsp:
String fileName="SID";
fileName=fileNa me+".xls";
String contentType = "applicatio n/vnd.ms-excel";
response.setHea der("Content-disposition", "attachment ; filename=" + fileName);
response.setCon tentType(conten tType);
Results are getting downloaded to excel,but I have few attributes which contains more than 10 digits...in this case ,value is coming in exponential form instead of numeric.
I have to get in numeric form..
eg:-4.17823E+11 instead of 417822805897
Please do the needful.
Thanks,
Chaitanya
I'm trying to export my results to .xls file. The following is the code which I have in my .jsp:
String fileName="SID";
fileName=fileNa me+".xls";
String contentType = "applicatio n/vnd.ms-excel";
response.setHea der("Content-disposition", "attachment ; filename=" + fileName);
response.setCon tentType(conten tType);
Results are getting downloaded to excel,but I have few attributes which contains more than 10 digits...in this case ,value is coming in exponential form instead of numeric.
I have to get in numeric form..
eg:-4.17823E+11 instead of 417822805897
Please do the needful.
Thanks,
Chaitanya