I want your opinion how can I do the following...
I'm constructing a web page under JSP and I have a form where when is submited is saves data into different tables in an sql database. Now I want to transform this form with the fill data to a word document, so the user can download it as word document file.

Which way can I programming that? Any web reference or book or explain me
I hope you understand what I'm trying to do...my English language is not so good