Professional Documents
Culture Documents
WT Internal-Ii
WT Internal-Ii
WT Internal-Ii
Page 1 of 3
What is the lifecycle of a servlet? Unit-IV
a) Servlet class is loaded b) Servlet instance is created
9 CO4 K1
c) init, Service, destroy method is d) All of the above
invoked
Which of the following code is used to get a HTTP Session object in
Unit-IV
servlets?
a) request.getSession() b) response.getSession()
10 CO4 K2
d) None of the above
c) newSession()
1 1,2,3,4,5,11,12,13,14,15,21 CO3 25
2 6,7,8,9,10,16,17,18,19,20,22 CO4 25
Page 2 of 3
Percentage of
24% 48% 20% 8% - -
Questions
Page 3 of 3