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 collaboration?
Write all the phases defined in servlet life cycle?
How the JSP file will be executed on the Server side?
What is the process for chaining servlet?
Elucidate servlet attributes and its scope?
How can the referrer and the target urls be used in servlet?
Explain how does JSP handle run-time exceptions?
How do you create a cookie using servlet?
How are filters?
Is that servlet is pure java object or not?
What is getservletcontext?
Difference between forward() method and sendredirect() method ?
Tell us something about servletcontext interface.
How will two or three servlets interact or communicate with each other?
How do you invoke a servelt?