I am trying to replace contents of ms.word document in .doc or .docx format but I am unable to do it. For example word document contains
This is my template file. I want to replace CustomerName and Cs_add with name and address of that particular customer. Also there may be table which contains above things as rows and columns. Can any one tell me how could I replace them using java.