Chapter 30 Flashcards
What is out.flush() method
Move all content to its proper place
Can we use out.close() in include servlet
No
Can we include a servlet into another servlet
Yes
What getHeaderNames() do
It returns an enumeration of all the header names this request contains.
What getHeader() do
It returns header values
What method used for mime types
setContentType(string)
What is stateless protocol
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.
Does http maintains its state
No
What is session tracking
Its a solution for maintain state for protocol