adplus-dvertising
frame-decoration

Question

The Servlet Response interface enables a servlet to formulate a response for a client using the method ___________.

a.

void log(Exception e, String s)

b.

void destroy()

c.

int get ServerPort()

d.

void set ContextType(String type)

Answer: (d).void set ContextType(String type)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The Servlet Response interface enables a servlet to formulate a response for a client using the method ___________.

Similar Questions

Discover Related MCQs

Q. Which one of the following is correct?

Q. In XML we can specify the frequency of an element by using the symbols :

Q. In XML, DOCTYPE declaration specifies to include a reference to ___________ file.

Q. Which one of the following is not a Client-Server application?

Q. Match the following interfaces of Java.

Servlet package :

List-I                                                     List-II

a.Servlet Config                                 i.  Enables Servlets to log events

b. Servlet Context                               ii.  Read data from a client

c. Servlet Request                             iii. Write data to a client

d. Sendet Response                        iv. To get initialization parameters

Codes:
a       b       c       d

Q. The syntax of capturing events method for document object is

Q. Linking to another place in the same or another webpage require two A (Anchor) tags, the first with the attribute and the second with the attribute.

Q. Given an image of size 1024 x 1024 pixels in which intensity of each pixel is an 8-bit quality. It requires of storage space if the image is not compressed.

Q. Java uses threads to enable the entire environment to be ................

Q. Which of the following statements is not correct?

Q. Javascript and Java has similar name because .................... is/are true.

(a) Javascripts syntax is loosely based on Java’s syntax
(b) Javascript is stripped down version of Java
(c) Java and Javascript are originated from Island of Java

Q. Which of the following statements are true with reference to the way of describing XML data ?

(a) XML uses DTD to describe the data
(b) XML uses XSL to describe the data
(c) XML uses a description node to describe the data

Q. ............... tag is an extension to HTML that can enclose any number of Javascript statements.

Q. The ............... language was originally designed as the Transformation Language for Style Sheet facility.

Q. A method to provide secure transmission of email is called .................

Q. HTML is defined using SGML – an ……………. standard, information processing-text and office systems (SGML) for text information processing.

Q. BCC in the internet refers to

Q. To compare, overlay or cross analyze to maps in GIS

Q. Web Mining is not used in which of the following areas?

Q. What does the URL need to access documents?

I. Path name
II. Host name
III. DNS
IV. Retrieval method
V. Server port number