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 many ways to remove the session object in the container

Answer Posted / ashwin kumar j

session.invalidate() used to kill the session object,this
method is usually called, for ex: when we logoff from an
application.

and

session.removeAttribute()

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the life-cycle methods for a servlet?

994


What is called servlet mapping?

1072


Is that servlet is pure java object or not?

1113


How to get the actual path of servlet in server?

1216


What is meant by Servlet? What are the parameters of service method?

1052


Explain servlet events?

1005


Define servlet mapping?

1161


How can we invoke another servlet in a different application?

1207


What is setattribute in servlet?

1137


What is difference between PrintWriter and ServletOutputStream?

1289


What is the directory structure of a war file?

1168


What are the life cycle methods of the servlet?

1079


What is the difference between sendredirect() and forward() in a servlet?

1012


What is difference between cookies and httpsession?

1087


Explain request dispatcher and its methods.

985