Exam 2: Servlets and Web Applications

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Servlet technology is used to create web application?

Free
(Multiple Choice)
4.8/5
(44)
Correct Answer:
Verified

A

To get the servlet environment information

Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
Verified

C

Servlet mapping defines

Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
Verified

A

Which method is used to specify before any lines that uses the PrintWriter?

(Multiple Choice)
4.9/5
(36)

The getSession() method with 'true' as its parameter [ getSession(true) ] it will return the appropriate session object when

(Multiple Choice)
5.0/5
(34)

In the HTTP Request method which is non-idempotent?

(Multiple Choice)
4.8/5
(41)

Give the examples of Application Server from the following?

(Multiple Choice)
4.7/5
(39)

The getSession() method with 'true' as its parameter [ getSession(true)] it will return the appropriate session object when

(Multiple Choice)
4.8/5
(34)

What is the limit of data to be passed from HTML when doGet() method is used?

(Multiple Choice)
4.9/5
(34)

The include() method of RequestDispatcher

(Multiple Choice)
4.8/5
(45)

The web container maintains the life cycle of a servlet instance,give the lifecycle of a servlet?

(Multiple Choice)
4.7/5
(36)

RequestDispatcher object is used

(Multiple Choice)
4.9/5
(33)

What are the contents of web module?

(Multiple Choice)
4.8/5
(31)

When might your program wish to run the garbage collecter?

(Multiple Choice)
4.8/5
(41)

What's the difference between servlets and applets? 1) Servlets executes on Servers, where as Applets executes on Browser 2) Servlets have no GUI, where as an Applet has GUI 3) Servlets creates static web pages, where as Applets creates dynamic web pages 4) Servlets can handle only a single request, where as Applet can handle multiple requests

(Multiple Choice)
4.8/5
(38)

In which advantage of servlet, Servlets are managed by JVM so no need to worry about memory leak, garbage collection etc. ?

(Multiple Choice)
4.9/5
(39)

Which packages represent interfaces and classes for servlet API?

(Multiple Choice)
4.9/5
(50)

In HTTP Request method Get request is secured because data is exposed in URL bar?

(Multiple Choice)
4.8/5
(45)

In HTTP Request Which Asks for the loopback of the request message, for testing or troubleshooting?

(Multiple Choice)
4.8/5
(44)

In the following statements identify the disadvantages of CGI?

(Multiple Choice)
4.9/5
(39)
Showing 1 - 20 of 25
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)