What are setComment and getComment methods in Cookies?
Answers were Sorted based on User's Feedback
Answer / satendra
getComment() : Returns the comment describing the purpose of
this cookie, or null if no such comment has been defined.
and setComment() is used to provide description about cookie.
| Is This Answer Correct ? | 3 Yes | 1 No |
thay are used to get and the comments in cookies.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the requirement of servlet config and servlet context implemented and how are they implemented?
init() method of servlet loaded by?
What is the difference between RequestDispatcher and sendRedirect?-
Can we write a constructor for a Servlet class ? if yes how ? if no why not ?
What is the need of servlet filters?
What methodology can be followed to store more number of objects in a remote server?
What is pure servlet?
What is Single Threaded Model in Servlets? Explain this with an example?
what is multiple server?
Explain in brief the directory structure of a web application?
How do I use cookies to store session state on the client?
What is the difference between the http servlet and generic servlet?