41. |
What is default session time of HttpSession?
|
||||||||
Answer:
Option (c) |
42. |
Which code from the following will only retrieve the session?
|
||||||||
Answer:
Option (d) |
43. |
Differentiate ServletConfig and ServletContext object.
|
||||||||
Answer:
Option (b) |
44. |
Which method is used to send the same request and response objects to another servlet ?
|
||||||||
Answer:
Option (a) |
45. |
Which class can handle any type of request so that it is protocol-independent?
|
||||||||
Answer:
Option (d) |
46. |
In the following statements identify the disadvantages of CGI?
|
||||||||
Answer:
Option (d) |
47. |
Which class provide implementation for service() method ?
|
||||||||
Answer:
Option (a) |
48. |
Deployment Descriptor(DD) is a _________ .
|
||||||||
Answer:
Option (c) |
49. |
Consider below web.xml file,
Which url Is use to access DemoServlet ?
|
||||||||
Answer:
Option (a) |
50. |
Consider below web.xml file,
Filter1 is apply to ________ Servlet.
|
||||||||
Answer:
Option (d) |