Chapter 30 Flashcards

1
Q

What is out.flush() method

A

Move all content to its proper place

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Can we use out.close() in include servlet

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Can we include a servlet into another servlet

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What getHeaderNames() do

A

It returns an enumeration of all the header names this request contains.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What getHeader() do

A

It returns header values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What method used for mime types

A

setContentType(string)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is stateless protocol

A

In computing, a stateless protocol is a communications protocol that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Does http maintains its state

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is session tracking

A

Its a solution for maintain state for protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly