This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes java & MS-word Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "java & MS-word" Watch "java & MS-word" New topic

java & MS-word

Jack Daniel
Ranch Hand

Joined: Jun 15, 2002
Posts: 163
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..)

Jack Daniel
Ranch Hand

Joined: Jun 15, 2002
Posts: 163
Also, is there any Java MS-WORD API like iText (which is java PDF API)
Lin Feng
Ranch Hand

Joined: Dec 11, 2002
Posts: 142
try Jakarta POI - Java API To Access Microsoft Format Files
I agree. Here's the link:
subject: java & MS-word
It's not a secret anymore!