This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi All, I have a microsoft word template that contains images,header,footer and a table. Now, I want to create a servlet or any other java/xml program which takes some values from database, open my existing word template and put database values in table of word template. Is it possible if yes then please suggest how. I tried using iText but it could not work properly as my word template is already existing. I just need to fill the values of database into word table.
POI is an option, although its Word capabilities are not maintained anymore. OpenOffice also handles doc files, and it has a powerful API that you can use. It has a steep learning curve, though.
What were you trying to do with iText? It does not deal with Word documents at all, although it does handle RTF.
Joined: Aug 13, 2003
Thanks Ditter, I know iText deals with .rtf files. But as I was not getting any option, I thought of trying .rtf files. But it did not work as my document is complex one. Anyhow, Thanks for your suggestions. I wil try to resolve my problem as suggested by you. In case i get any problem i will get back to you. Thanks once again.