Multiple Choice
Which page directive should be used in JSP to generate a PDF page?
A) contentType
B) generatePdf
C) typePDF
D) contentPDF
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Default value of autoFlush attribute is?<br>A)true<br>B)false<br>C)none<br>D)all
Q2: Which is mandatory in tag?<br>A)id, class<br>B)id, type<br>C)type,
Q3: "out" is implicit object of which class?<br>A)javax.servlet.jsp.PrintWriter<br>B)javax.servlet.jsp.SessionWriter<br>C)javax.servlet.jsp.SessionPrinter<br>D)javax.servlet.jsp.JspWriter
Q4: _jspService() method of HttpJspPage class should not
Q5: Which method is used to specify before
Q7: Which of the following action variable is
Q8: Servlet mapping defines<br>A)an association between a URL
Q9: How many ServletContext objects are available for
Q10: Which attribute uniquely identification element?<br>A)ID<br>B)Class<br>C)Name<br>D)Scope
Q11: Application is instance of which class?<br>A)javax.servlet.Application<br>B)javax.servlet.HttpContext<br>C)javax.servlet.Context<br>D)javax.servlet.ServletContext