Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

urgent :: pls help  RSS feed

 
Prabhu Chandrasekaran
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,
my requirement is that the output html of a jsp page be redirected as an excel sheet. how to go about doing this ??
pls. help
Advance thanks,
Prabhu Chandrasekaran
 
prabhat kumar
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
read this chapter 7 from coreservelts
 
Prashanth menon
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please try setting the contentType="". If you have to open in Excel then the corresponding mime type should be set.
You might then get the save/openit from current location dialog. Open it.
Example contentType="text/plain" means ordinary text.
regards
Prashanth
 
Prabhu Chandrasekaran
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,
thanks for the replies.
after setting the mime type, my problem is solved.
thanks again
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!