I am creating a word document using doc4j api. I am constructing a html message with html table and img tags in it and saving the document. The html string has an image tag in it like this
<img src="c:\\smiley.jpg" alt="Smiley face" height="42" width="42">.
Upon opening the document, the image appears fine. However, when I open the same file in other machine, I don't see the image, since the image is in c drive in a different machine.
I tried giving relative path, but it didn't work. How to solve this problem.
Thanks.