Servlets

Servlets

Professional Development

20 Qs

quiz-placeholder

Similar activities

Service Desk ICT SSC Quiz

Service Desk ICT SSC Quiz

Professional Development

15 Qs

NH LazMall Chat Quiz #1

NH LazMall Chat Quiz #1

Professional Development

15 Qs

Before ASDR Scheduling

Before ASDR Scheduling

Professional Development

15 Qs

O5A Level 2 Day 4

O5A Level 2 Day 4

Professional Development

15 Qs

ADJAVAPRractise

ADJAVAPRractise

Professional Development

25 Qs

Typescript: Nestjs

Typescript: Nestjs

Professional Development

15 Qs

M20_Review (Procurement)

M20_Review (Procurement)

Professional Development

18 Qs

Repair Quizz West

Repair Quizz West

Professional Development

17 Qs

Servlets

Servlets

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

342856_Amit Upadhyay_JH

Used 459+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Servlet runs each request in a __________ ?

OS shell

JVM

JRE

Separate thread

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following statement is not correct about HTTP method ?

A GET request append data to the end of the URL.

A POST request append data to the end of the URL.

HTTP DELETE method request for the Server to delete the resource

HTTP OPTIONS request for communication options available on the request/response chain

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class provide implementation for service() method ?

HttpServlet

GenericServlet

Servlet

none of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_________ is responsible for managing execution of servlet

Web Container

JVM

Servlet Context

Server

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _______ specification defines an application programming interface for communication between the server and the application program

Java Servlet

java jdbc

java applet

java swing

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the lifecycle of a servlet?

Servlet class is loaded

Servlet instance is created

init(),service() and destroy() methods will be called

All the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times init() method is called during life time of a servlet?

two times

one time

several times

never called

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Professional Development