Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to set a cookie in JSP?

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


Please Help Members By Posting Answers For Below Questions

What is jsp-config in deployment descriptor?

950


How do I create a dynamic web project?

848


How do I run a jsp file?

896


Why should we not configure jsp standard tags in web.xml?

852


What are the benefits of pagecontext implicit object?

1159


Why is jsp used for?

881


What is a jsp container?

913


What is jsp and its architecture?

826


What is a expression?

882


What is pagescope in jsp?

863


Explain the steps for creating custom tags in jsp?

801


What is the jsp:setproperty action?

903


What are page directives?

889


How to delete a cookie in a jsp?

922


What is the include directive?

901