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 servlet and list its types?
What is the major difference between servlet and applet?
How do you deal property files in servlet?
What is the difference between CGI and Servlet?
Can we refresh servlet in client and server side automatically?
What's the advantages using servlets than using cgi?
What is http servlet? Explain with the help of an example.
How to generate the server side programming and the advantages of it over the other languages?
What is the servlet?
Difference between get and post in java servlets?
How can we achieve transport layer security for our web application?
Explain the war file?
What is a server side include (ssi)
Explain the difference between a web server and a web container?
Can we fetch the attributes related to a servlet on a different servlet?