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
Explain the jsp implicit objects?
How can I use the results of my method? ea: <%! method (int x) { stuff return y; } %> <% out.println(y); %> how can I make this work? "y" is a variable made during the method.
What are the jsp elements?
i need the source code for opening a word document in java
Explain the uses of jsp?
Is jsp used?
What is el?
How do I mix jsp and ssi #include? What is the difference between include directive & jsp:include action?
Explain the various scope values for tag.
What is application scope in jsp?
Explain the uses of
Which method cannot be overridden in jsp?
What information is needed to create a tcp socket?
What is c tag in jsp?
What are the advantages of jstl?