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 do you mean by session tracking and also explain its techniques?
How do we go with database connection and log4j integration in servlet?
What is the difference between JspWriter and PrintWriter
How is a servlet implemented in code?
Can we override servlet service method?
What are common tasks performed by Servlet Container?
What are the disadvantages of storing session state in cookies?
How do I use cookies to store session state on the client?
How is the get () method different from the post() method?
How can I share objects across different sessions?
what are the different services provided by the web server?
What is the life-cycle of servlets?