Answer Posted / usha
cookie is small piece of data set by the server on the
client ,for session tracking. When the server sets the
cookie as part of the response,the client will send the
cookie back to the server when it sends the next request.
Cookie is class in http package.Create Cookie object and
send it as part of response using
response.addCookie(cookie object)
can access the cookie using
request.getCookie();
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Why session tracking is needed?
Where do you define dispatcherservlet?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
Which interface must be implemented by all servlets?
How can a servlet be used to generate plain text instead of html?
Explain is servlet mapping?
What is the difference between 2 types of servlets?
How can you push data from an Applet to a Servlet?
What is a servlet?
How the servlet is loaded?
What is dispatcher servlet?
What is the
What do you mean by web applications?
What are the types of an http request?
What are the different types of servlets?