Java Servlets

Java Servlets

University

16 Qs

quiz-placeholder

Similar activities

Prelim Exam for EDUC 61

Prelim Exam for EDUC 61

University

20 Qs

Kinship and Family in Borneo

Kinship and Family in Borneo

University

20 Qs

Strategic Compensation Plan

Strategic Compensation Plan

University - Professional Development

15 Qs

Human Resource Management Quiz

Human Resource Management Quiz

University

15 Qs

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

Fiche de révision-EB8-1er trimestre.

Fiche de révision-EB8-1er trimestre.

8th Grade - University

20 Qs

Q4-Foundation SPACE organic chemistry

Q4-Foundation SPACE organic chemistry

University

20 Qs

Java Servlets

Java Servlets

Assessment

Quiz

University

Practice Problem

Hard

Created by

HAREESH KUMAR

Used 159+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?