I need to open a word doc template from a java application
and i also need to dynamically update the fields
in the template with some values from the java application..
Can anybody help me????......

Thanks in advance..........

Opening the document is the easy part, it's just a file after all ;)

Interpreting it is hard. There's a library by the Apache group (Jakarta project) which offers partial capabilities to read and write Word documents http://jakarta.apache.org/poi/index.html but if that is not enough you're pretty much on your own (I think they'd be happy to accept contributions towards completing their work).

hmmm. I think when you name your fields you want to fill like this "<[(myfield1)]>" etc you have a great chance to fill your document without any word interpreter. Only stupid string-replacement. Try it.

Its interessting wether it works for me, too.

Let me know.

Greetings from Germany

Ben

hmmm. I think when you name your fields you want to fill like this "<[(myfield1)]>" etc you have a great chance to fill your document without any word interpreter. Only stupid string-replacement. Try it.

Its interessting wether it works for me, too.

Let me know.

Greetings from Germany

Ben

no u misunderstood i wann to create some template and fill
them with correct data ..............