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
How can we disable el?
How to find out the name of the http method using jsp el?
What is < jsp:forward> tag for?
What is jstl?
Explain scriptlet, expression and declaration in jsp.
Which jsp lifecycle methods can be overridden?
What is an api with example?
Which tag is used to execute java source code in jsp?
Can you use javascript in jsp?
Give the use of exception object.
How can we handle exceptions thrown by jsp service method?
How do you delete the session data?
What jsp lifecycle methods can I override?
What is scripting elements in jsp?
What is the difference between directive include and jsp include?