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...

if we know the any consultancies, it will place in company
work through consultancy(contract base). please help me I'm
2008 pass out java candidate...

Answer Posted / venkat

Hi friend ,

if u use getSession(true),first the container checks the
session is avilable or not.if it exists,it uses that session
and returns that session,otherwise it creates new session

but in case of getSession(false),if the session exists for
the user,it uses that session otherwise it returns null

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the concept of ssi ?

1071


List the Different types of servlet?

1046


Which interface must be implemented by all servlets?

1351


What is life cycle of Servlet?

1079


Explain mvc pattern.

1027


How does Cookies work in Servlets?

1183


What is the difference between genericservlet and httpservlet

1099


Explain the difference between generic servlet and http servlet?

1005


What do you mean by web applications? Explain web application directory arrangement?

967


List out difference between a JavaBean from a Servlet?

1038


Explain servlet.

1050


What is http servlet?

1071


How do you get the ip address of the client in servlet?

1016


What is Servlet API used for connecting database?

1107


How can you use a servlet to generate a plain text instead of html?

1135