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
Can we use jstl in html?
What is an expression in jsp?
Can Static method be Override?
How do you comment out in jsp?
What are the benefits of pagecontext implicit object?
What will happen if iselignored attribute is set as false?
What is the use of session management?
Which tags are used for bean development?
What are jsp lifecycle methods?
When does a container initialize multiple jsp / servlet objects?
When destroy method of jsp is called?
What are advantages of jsp over asp, php, pure servlets and others?
What is a scriptlet?
What are context initialization parameters?
Explain the uses of