You can create an HTML report and convert it to PDF.
** Link removed **
User Profile
Collapse
-
-
..
Yes, but JavaScript takes action in the browser only, so it can not touch MS Word files.
All he can do is to convert to pdf BEFORE sending the pdf to the visitor's browser.Leave a comment:
-
sol
you can convert word to pdf(with java):
Code:import officetools.OfficeFile; FileInputStream fis = new FileInputStream(new File("test.doc")); FileOutputStream fos = new FileOutputStream(new File("test.pdf")); OfficeFile f = new OfficeFile(fis,"localhost","8100", false); f.convert(fos,"pdf");
Leave a comment:
-
tut
Another jsp tutorial: JSP Tutorial
For your pb, alternative solution: you can also try with javascript and ajax.
In JSP do <body onload="callAja x()">
where callAjax can call the servlet.Leave a comment:
-
convert html to pdf
another way to convert html to pdf - check code example on this page: HTML to PDF with PHP, Java or ASPLeave a comment:
No activity results to display
Show More
Leave a comment: