1

I have a link on my JSP page. The functionality of this link is to download the entire JSP page as a PDF file. This PDF file is very much like a screenshot of the JSP page. How can this be done? Thanks in advance!

Oscar Orcas
  • 117
  • 2
  • 4
  • 17

1 Answers1

0

you can call a javaScript function from that link,and in that function u can change content type of the page dynamically as "application/pdf".

Deep
  • 71
  • 7