ExamVeda
Login
Home
11
What is the role of the `init()` method in Java Servlets?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
12
Which of the following is true about servlet containers (e.g., Tomcat)?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
13
What does the term "URL mapping" refer to in Java Servlets?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
14
Which of the following is NOT a standard HTTP status code in Java Servlets?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
15
What is the purpose of the `web.xml` `` element in a Java web application?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
16
What is a servlet container in Java web applications?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
17
In Java Servlets, what is the purpose of the `doFilter()` method in the `Filter` interface?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
18
What is the purpose of the `context-param` element in the `web.xml` file of a Java web application?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
19
Which Java package contains the core classes and interfaces for servlets?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
20
What is the role of the `HttpSession` interface in Java Servlets?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board