
Java Servlets

Quiz
•
University
•
Hard
HAREESH KUMAR
Used 159+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is bytecode?
Machine-independent code
Java code
Machine-specific code
None of the mentioned
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following are interface? 1. ServletContext 2. Servlet 3. GenericServlet 4. HttpServlet
1,4
1,2,3,4
1,2
1,3,4
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The life cycle of a servlet is managed by
servlet context
servlet container
the supporting protocol (such as http or https)
All of the above
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which JDBC driver Types are for use over communications networks?
Type 3 only
Type 4 only
Both Type 3 and Type 4
Neither Type 3 nor Type 4
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How does Tomcat execute a JSP?
As a CGI script
As an independent process
By one of Tomcat's threads
None of the above is correct.
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which class provides stream to read binary data such as image etc. from the request object?
ServltInputStream
ServletOutputStream
ServletContext
None of the above
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which method of HttpServletResponse interface can be used to redirect response to another resource, it may be servlet, jsp or html file?
forward()
sendRedirect()
reDirect()
forwardReDirect()
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
JSP

Quiz
•
University
15 questions
Talent Next MCQ-7 (HTML, JSP and Servlet)

Quiz
•
University
20 questions
PHP Form

Quiz
•
University
15 questions
Repaso teórico

Quiz
•
University
15 questions
R6 3.TEC_BACK END_103 A0 114 Aplicações Java

Quiz
•
9th Grade - University
21 questions
XML and Applications

Quiz
•
University
20 questions
#7 (Part 2) Internet

Quiz
•
University
20 questions
Insert, Delete data & using Images

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University