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

Which two interfaces does the javax servlet jsp package have?

1106


How can I maintain session in JSP Page in the bases of user name and password:

911


How can you avoid scriptlet code in jsp?

971


What is out in jsp?

867


How to print java variable in jsp?

901


why ,what, when, where,how the extended star schema is used.

2073


What is jstl?

895


How are jsp(java server pages) better than asp(active server pages)?

909


How do I create a dynamic web project?

872


Are dialogue tags necessary?

846


What is the jspinit() method?

919


What is request getcontextpath ()?

875


Can we call destroy method inside init method?

879


What is use of scriptlet tags in jsp?

845


What is a declaration statement?

924