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 are different Authentication options available in Servlets.
How to read request headers from servlets?
What is cookie in servlet?
What is the web server used for running the Servlets?
What are the steps involved in placing a servlet within a package?
How to make sure a servlet is loaded at the application startup?
Whether we can get deadlock situation in servlets?
Define the servlet mapping.
Can we use javascript in Servlets?
What methodology can be followed to store more number of objects in a remote server?
How is a servlet implemented in code?
How can we invoke another servlet in a different application?