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’s the difference between forward() and sendredirect() methods?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What are the annotations used in servlet 3?
What is life cycle of Servlet?
What is a cookie What is the difference between session and cookie
Explain Action Servlet?
When to use doget() and when dopost()?
What are the steps that are involved in using the httpservlet class?
Why the concept of single thread model interface is used?
What is http servlet?
Which java framework is most popular?
How to read request headers from servlets?
Should I override the service() method?
How do I support both get and post from the same servlet?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify