Answer Posted / venkat
<%
Cookie killMyCookie = new Cookie("mycookie", null);
<%-- mycookie is the cookie instance which we have to
delete%>
killMyCookie.setMaxAge(0);
killMyCookie.setPath("/");
response.addCookie(killMyCookie);
%>
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are implicit objects in jsp?
What is the differences between the jsp custom tags and java beans?
How do I mix jsp and ssi #include?
What is the purpose of
How can I declare methods within my jsp page?
What are the two ways to include the result of another page?
Explain client-side and server-side validation.
What is the use of implicit object named "application" in Application?
What are the events in jsp page?
What is jsp container?
Why does _jspService() start with an ‘_’ but other lifecycle methods do not?
how to insert star image and need to rate it.. one star two star so on how to do in jsp...????
What are the components of jsp?
How can information from one JSP be passed to another JSP?
How we can include the result of another page in jsp?