Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between servlet and jsp?
Can you explain in detail 'javax.servlet' package?
Why don't we write a constructor in a servlet?
Explain the concept of ssi ?
How do you run a servlet?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What is the use of httpservletrequestwrapper?
What is the difference between Difference between doGet() and doPost()?
What is the difference between servlet and filter?
What is the difference in between the httpservlet and generic servlet?
What are the phases of servlet life cycle?
Why do we have servlet listeners?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What are the different mode that servlets can be used?