What is a Session Id?
Answer / rambabu gonela
HTTP protocol uses stateless connections. Connection exists
for only single request/response (makes connection to
server, sends request, gets response, closes connection)
On the client?s first request, the container generates a
unique ID (for recongize the client) and sends it back to
the client with response. The client sends back the ID
with each subsequent request. The container sees the ID,
finds the matching session and associates the session with
the request.
This Id called as a Session Id.
| Is This Answer Correct ? | 8 Yes | 0 No |
Explain servlet.
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
How will you open a new page after certain interval of time (5 sec), on clicking of a button in an html page?
When a servlet accepts a call from a client, it receives two objects. What are they?
how can we execute servelt? what the use ".war" or ".jar" file creation
When jsessionid is created?
Why is http protocol called as a stateless protocol?
How do we share data using 'getservletcontext ()?
What are the features added in Servlet 2.5?
What is the use of httpservletresponsewrapper?
How do you run a servlet?
What is the difference between doGet and doPost?