In my application I can connect to a database and get an array resultset and using JSP code I can iterate through the array and can display the report in my webpage using HTML.
I want that the generated report in my HTML webpage can be exported in PDF format and saved in some .pdf file.
Please tell me how to implement such technique to implement such exporting technique.
You can use the
PdfWriter
class that comes with this package, which includes a quick tutorial from IBM on how to use it:http://www.ibm.com/developerworks/opensource/library/os-javapdf/