Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java & MS-word

 
Jack Daniel
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, i have got a question..

I know that from a servlet you can get the response written to an MS-word document by writing


and then going from there..

BUT is it possible (any API present?), that I can write to an MS-word document from a simple java program (with a main(String ..) method)??

I know this sounds stupid ,.. but there is a need..

i have a web-faced app, which calls CL/cobol progs which i want to call a java program to do this... (not a servlet for some reason..)

thanks..
 
Jack Daniel
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, is there any Java MS-WORD API like iText (which is java PDF API)
thx
 
Lin Feng
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try Jakarta POI - Java API To Access Microsoft Format Files
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic