Answer Posted / sandeep m
Http Protocol is stateless protocol. Hence server cannot
identify the request is from same client or different.
Hence server can treat every request as new request and may
ask for authentication for each request.
Hence for server to remember client and to respond in an
interactive way server needs to remember the client and its
activities. For which javax.servlet.http.HttpSession
interface is provided. Which helps in session tracking of
client requests.
HttpSession is one of the 4 ways of session tracking
mechanisms.
| Is This Answer Correct ? | 44 Yes | 3 No |
Post New Answer View All Answers
What is a cookie What is the difference between session and cookie
How can you push data from an Applet to a Servlet?
Explain the difference between get and post method in servlet?
Is tomcat a servlet container?
What is a generic servlet?
Can you create a deadlock condition on a servlet?
Given the request path below, which are context path, servlet path and path info?
What is the difference between a generic servlet and http servlet?
Which httpsession object is used to view and manipulate information about a session?
What do you mean by interservlet communication?
How does Cookies work in Servlets?
How will you pass values from HTML page to the servlet?
How would you create deadlock on your servlet?
What are the uses of servlets?
What do you mean by filter in servlet?