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
Explain the servlet filter.
What are the types of servlets? Explain
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What are all the advantages of servlet over cgi?
How do you create a cookie using servlet?
List some life cycle methods of a servlet.
Define the life cycle of a servlets.
What is pure servlet?
What is cgi?
What is servlet in web technology?
What are the phases of servlet life cycle?
How can I send user authentication information while making URL Connection?
What is session tracking?
how many jsp scripting elements are there and what are those?
How do you run a servlet?