Servlets

Servlets

Professional Development

20 Qs

quiz-placeholder

Similar activities

AdvJava Mid Quiz

AdvJava Mid Quiz

Professional Development

20 Qs

Cybersecurity Knowledge Quiz

Cybersecurity Knowledge Quiz

Professional Development

15 Qs

Microsoft 98-365 Server Admin Part 2

Microsoft 98-365 Server Admin Part 2

KG - Professional Development

22 Qs

Sept2022 AdvJava

Sept2022 AdvJava

Professional Development

20 Qs

ServletJsp

ServletJsp

Professional Development

19 Qs

Integração de Aplicações - Quiz 5

Integração de Aplicações - Quiz 5

Professional Development

16 Qs

Web API - Post Assessment

Web API - Post Assessment

Professional Development

18 Qs

Ujian Blue Print DCT COMSEC

Ujian Blue Print DCT COMSEC

Professional Development

20 Qs

Servlets

Servlets

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

342856_Amit Upadhyay_JH

Used 456+ 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?