Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with exporting JSP page to excel format

Status
Not open for further replies.

shef015

Programmer
May 22, 2001
67
US
I am trying to export a JSP page to Excel. The problem I have encountered is that Excel tries to format the string I have. For example it take 11E062 and converts it to 1.10E+63. In other words it takes some of my strings and converts them to scientific notation. Here is the code...
out.print("\"" + Data.elementAt(1) + "\"\t");

Any info or help would be great. I know it is an issue with making the variable a string. Any help would be appreciated. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top