HTML « PDF « JSP-Servlet Q&A





1. Print a PDF into a div    stackoverflow.com

Whene I open a PDF on the browser I want to print it in a div not all the page. How can I do that? Here is my JSP source code:

<%@ page ...

2. HTML 2 PDF    coderanch.com

Hello; I wrote a JSP to generate html file with images, tables. Later want it to convert to PDF file. The reason I want it to generate first into HTML file because the data that I grab from my database content HTML tags in it. If not so, if I straight convert to PDF file, it will print out the HTML ...