Академический Документы
Профессиональный Документы
Культура Документы
This section presents you various set of Mock Tests related to JSP Framework. You can download
these sample mock tests at your local machine and solve offline at your convenience. Every mock
test is supplied with a mock test key to let you verify the final score and grade yourself.
C - void jspDestroy
C - void jspInit
C - void _jspService
A - True
B - False
Q 5 - _jspService method of HttpJspPage class should not be overridden.
A - True
B - False
A - True
B - False
A - True
B - False
A - request
B - response
C - cookie
D - session
A - Request
B - HttpRequest
C - HttpServletRequest
D - ServletRequest
A - Response
B - HttpResponse
C - HttpServletResponse
D - ServletResponse
A - True
B - False
Q 12 - This object can be used to access other implicit objects in JSP.
A - request
B - page
C - context
D - pageContext
A - True
B - False
A - True
B - False
A - Session
B - HttpSession
C - HttpServletSession
D - ServletSession
Q 16 - If a jsp is to generate a pdf page, what attribute of page directive it should use?
A - contentType
B - generatePdf
C - typePDF
B - contentPDF
A - contentXML
B - generateXML
C - typeXML
D - contentType
B - page
C - export
D - useBean
A - language
B - extend
C - export
D - import
A - html
B - jsp
C - javaScript
D - css
A - True
B - False
A - True
B - False
A - Weblogic Server
B - WebSphere Server
C - Tomcat Server
A - jspInit
B - _jspService
C - jspDestroy
ANSWER SHEET
1 C
2 C
3 B
4 A
5 A
6 A
7 A
8 C
9 C
10 C
11 B
12 D
13 A
14 A
15 B
16 A
17 D
18 C
19 C
20 B
21 B
22 A
23 D
24 D
25 D
Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js