Search Header Logo

LNCTU Servlet

Authored by PRAVEEN SHARMA

Professional Development

Professional Development

Used 1+ times

LNCTU Servlet
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 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

30 sec • 1 pt

Which class provide implementation for service() method ?

HttpServlet

GenericServlet

Servlet

none of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_________ is responsible for managing execution of servlet

Web Container

JVM

Servlet Context

Server

4.

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

5.

MULTIPLE CHOICE QUESTION

30 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

6.

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When destroy method() of servlet called ?

for first request

when you close the browser window

when you remove the application from server

none of the above

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?

Discover more resources for Professional Development