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 is jstl jar?
What are the differences between get and load methods?
Is jsp platform dependent?
Can we override jsp service method?
Can we define a class inside a jsp page?
What jsp lifecycle methods can be overridden?
Give the syntax for jsp comments.
What is a scriptlet?
What is the
What are jsp implicit objects?
What is jsp and why do we need it?
How is jsp used in the mvc model?
What are the standard actions available in jsp?
Why is it that JComponent have add() and remove() methods but Component doesn’t?
What are the different scopes an object can have in a jsp page?