1.

Which page directive should be used in JSP to generate a PDF page?(a) contentType(b) generatePdf(c) typePDF(d) contentPDFI have been asked this question during an internship interview.I would like to ask this question from JSP topic in chapter Session Management, JSP & API of Java

Answer»

Right choice is (a) contentType

The best I can explain: <%PAGE contentType=”application/pdf”> tag is USED in JSP to GENERATE PDF.



Discussion

No Comment Found

Related InterviewSolutions