Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems while exporting jsp to excel

 
anil kodey
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm able to export jsp to excel.. I used response.setContentType("application/vnd.ms-excel")

Which opens jsp page in excel format. But it's not exporting colored texts to excel. I'm not using font tag in html. I'm using class tag for all the tags and excel is not recognizing these classes. Let me know if there is any way to do it.If there is a way please do post the code
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by anil kodey:
I'm able to export jsp to excel.. I used response.setContentType("application/vnd.ms-excel")


You're not really exporting to Excel when you do this.
See: JspAndExcel for information on generating actual Excel files from Java applications.

This was debated at length in
this thread earlier this month.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic