I\'m currently creating a Word document by generating HTML and changing the header information to display as a .doc file. It\'s a poor man\'s method, but it works just fine
I had the similar problem. I solved it by decoding the Base64 images to disk and creating a link to the images, deploying a servlet in my application to listen to the link pointed by images on disk. Here is the solution I implemented:
How to convert HTML to well formed DOCX with styling attributes intact