Answer Posted / venkat
<%
Cookie mycookie = new Cookie("aName","aValue");
response.addCookie(mycookie);
%>
| Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
How can we stop errors on display in a jsp page?
Which syntax is used to comment jsp?
What are scripting elements?
How can we retrieve warnings?
What are the different scopes an object can have in a jsp page?
What is request scope in jsp?
How can I use jsp in the mvc model?
What does jsp mean?
What class.forname will do while loading drivers?
Explain JSP Output comments?
What is scripting elements in jsp?
What is jsessionid?
What is expression tag in jsp?
Can you explain what is jsp page life cycle?
What is cookie with example?