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 |
Can we use threads in Servlets?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What is the first statement in jsp page.
Describe the phases of servlet lifecycle?
What is servlet and its life cycle?
What is context switching?
What is Servlet Context?
Explain in brief the directory structure of a web application?
Can filter be used as request or response?
What are the security issues in Servlets?
How native code can be used in a servlet?
Which method of the httpservletrequest object is used?