Answer Posted / anji87543
<%
Cookie mycookie = new Cookie("aName","aValue");
response.addCookie(mycookie);
%>
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is auto-flush attribute?
How to include static files in a JSP page?
How do I use a scriptlet to initialize a newly instantiated bean?
What is the _jspservice() method?
Explain JSP directives.
What is taglibs?
What are context initialization parameters?
What are the elements of jsp?
Explain handling of runtime exceptions.
Explain jsp lifecycle methods?
Can we use javascript with jsp pages?
How to find out the name of the http method using jsp el?
How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?
What is an expression in jsp?
What is jsp and why it is used?