Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

exporting data to word file  RSS feed

 
chandra paduri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to export data directly to MS word file from jsp.
Thanks
Chandra Paduri
 
James Hobson
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set the MIME type to something like
application/msword
and just write plain text or HTML to the output, it will open in Word (providedf it is installed etc.) but it wont really be a word file.
Look at FO and <a href="http://xml.apache.org/fop/">FOP</a> Im pretty sure you can use FOP to get rtf, possibly even "real" word...
James
 
chandra paduri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks James.I am lookiing on to the site
 
Stanley Tan
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This seems interesting. I too would like to know how to turn data into a Word document or other printable formats. Did FOP work for you?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!