i am working in JSF Application and in this application using some code i have create a HTML file that is store in my server and now i want to convert that HTML file in to .DOC file ..... so please help me
Asked
Active
Viewed 1,430 times
4 Answers
0
There are tools that convert HTML to PDF: Convert an HTML file to a PDF with their pictures and styles using Java
Then use: http://pdf-to-doc.software.informer.com/
-
thank's for your response but now i did it using import officetools.OfficeFile jar...... – Jimit Tank Dec 16 '10 at 08:48
0
You could strip it of script and comments etc, then load it into Word and save it as .doc.

James Walford
- 2,953
- 1
- 24
- 37
-
thank's for your response but now i did it using import officetools.OfficeFile jar...... – Jimit Tank Dec 16 '10 at 08:48
0
You can convert HTML to XML (using XSLT) and load it into Word afterwards. I did it while converting HTML page with tables to XML with XSLT file attached and it worked just fine.

John Gietzen
- 48,783
- 32
- 145
- 190

Anton K.
- 933
- 3
- 9
- 22
-
thank's for your response but now i did it using import officetools.OfficeFile jar...... – Jimit Tank Dec 16 '10 at 08:47
0
A solution is i have Download a
officetools.OfficeFile;
this jar file and after write some code that can easy get from the net...

Jimit Tank
- 1,479
- 5
- 19
- 25