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 |
Explain the architechure of a servlet?
Write all the phases defined in servlet life cycle?
what is the difference between ServletContext and ServletConfig
Explain is servlet mapping?
How do you invoke a servelt?
What is lazy loading and what is Generic Servlet Class?
explain filters in java?
Which event is fired at the time of project deployment and undeployment?
Which http method is said to be non-idempotent and idempotent?
What is the difference between servlet config and servlet context.
19 Answers TCS, Tech Mahindra, Vertex,
When to use doget() and when dopost()?
How can we implement a jsp page?