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 the security issues in Servlets?
Write a program to show the functionality of doget and dopost method?
What is java servlet?
How do you pass the data from one servlet to another servlet?
How do you create connections for number of users, if you want to improve performance?
What is war file?
Whats the advantages using servlets over using CGI?
What advantages do servlets have over CGI programs?
What is meant by session? Tell me something about httpsession class?
Which httpsession object is used to view and manipulate information about a session?
What is the major difference between servlet and applet?
Describe the phases of servlet lifecycle?