praveen shinde wrote:Is it possible to create a table in word document which contains the values extracted from the database using java?
Yes. You've already been pointed to the Apache POI library that can create
DOC and DOCX files. But if I wanted to create complex text documents, I'd probably create an
RTF template by hand, add some easily recognizable placeholders (like "<<table>>"), and then use text search/replace to fill in the actual content using RTF markup. Most text processors (and Word in particular) can read RTF just fine.