I am using evaluation version. Generating word document by your demo code.
As i am using struts, i copied the respective code from servlet.
Code is compiled till the following line,
doc.save(response.getOutputStream(), SaveFormat.FORMAT_DOCUMENT);
Error : The type java.lang.Iterable cannot be resolved. It is indirectly referenced from required .class files
Please let me know what is wrong.
Thanks,
ANand Basutkar