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

How to make sure a servlet is loaded at the application startup?

1090


What is the difference between a generic servlet and http servlet?

1045


Write a command to get actual path of a servlet to the server?

1078


Is it possible to have a constructor inside the servlet?

1062


What are the types of servlets? Explain

1330


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

1108


How do you design microservices?

1156


Write a hello world program using servlets.

1126


What is servlet invoker?

1088


Why jsp is better than servlet?

1082


List out the difference between ServletConfig and ServletContext?

1106


Which event is fired at the time of setting, getting or removing attribute from application scope?

1196


Whether thread can be used in servlets?

1263


What is MIME Type?

1203


What is meant by a web application

1069