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 |
How servlets can be automatically reloaded?
why are using HttpServlet in realtime projects and why are not using Genericservlet
Servlet Chaining? How do you do the Filtering in Servlets?
how to use servlets with j2ee ?
What is a generic servlet?
How to set a cookie that is persisted only for the duration fo the clients session?
What is servlet mapping?
Why do we use sendredirect() method?
Elucidate servlet attributes and its scope?
What is the servletconfig object?
What is difference between server and servlet?
How do cookies work in servlets?